TDBC

Artifact [411e2912d6]
Login

Artifact 411e2912d6f1e76da8cac2b4f4f09c465b624569:

Attachment "tdbc-libraryfile.patch" to ticket [625f0ee464] added by stu 2017-05-25 15:53:20.
diff -ur tdbc1.0.4/Makefile.in /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/Makefile.in
--- tdbc1.0.4/Makefile.in	Mon Oct 19 10:52:13 2015
+++ /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/Makefile.in	Thu May 25 11:45:50 2017
@@ -191,8 +191,7 @@
 # of the Makefile, in the "BINARIES" variable.
 #========================================================================
 
-binaries: $(BINARIES)
-	cp -p $(srcdir)/library/tdbc.tcl $(top_builddir)
+binaries: $(BINARIES) tdbc.tcl 
 
 libraries:
 
@@ -243,7 +242,7 @@
 test: binaries libraries
 	@$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
 		-load "package ifneeded ${PACKAGE_NAME} ${PACKAGE_VERSION} \
-			[list source `@CYGPATH@ $(srcdir)/library/tdbc.tcl`]\;[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"
+			[list source `@CYGPATH@ tdbc.tcl`]\;[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"
 
 shell: binaries libraries
 	@$(TCLSH) $(SCRIPT)
@@ -282,6 +281,13 @@
 	-rm -f $(PKG_STUB_LIB_FILE)
 	${MAKE_STUB_LIB}
 	$(RANLIB_STUB) $(PKG_STUB_LIB_FILE)
+
+#========================================================================
+# Tcl sources.
+#========================================================================
+
+tdbc.tcl:
+	cp $(srcdir)/library/tdbc.tcl .
 
 #========================================================================
 # We need to enumerate the list of .c to .o lines here.
diff -ur tdbc1.0.4/configure /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/configure
--- tdbc1.0.4/configure	Thu Jan 28 13:05:47 2016
+++ /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/configure	Thu May 25 11:40:57 2017
@@ -5785,6 +5785,7 @@
 #--------------------------------------------------------------------
 
 #CLEANFILES="$CLEANFILES pkgIndex.tcl"
+CLEANFILES="$CLEANFILES tdbc.tcl"
 
 #--------------------------------------------------------------------
 # Choose which headers you need.  Extension authors should try very
diff -ur tdbc1.0.4/configure.ac /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/configure.ac
--- tdbc1.0.4/configure.ac	Thu Jan 28 13:05:10 2016
+++ /usr/ports/pobj/tdbc-1.0.4/tdbc1.0.4/configure.ac	Thu May 25 11:39:49 2017
@@ -113,6 +113,7 @@
 #--------------------------------------------------------------------
 
 #CLEANFILES="$CLEANFILES pkgIndex.tcl"
+CLEANFILES="$CLEANFILES tdbc.tcl"
 
 #--------------------------------------------------------------------
 # Choose which headers you need.  Extension authors should try very