[72397] trunk/dports/databases/tcl-sqlite3

jmr at macports.org jmr at macports.org
Tue Oct 12 22:53:07 PDT 2010


Revision: 72397
          http://trac.macports.org/changeset/72397
Author:   jmr at macports.org
Date:     2010-10-12 22:53:02 -0700 (Tue, 12 Oct 2010)
Log Message:
-----------
tcl-sqlite3: use correct SHLIB_SUFFIX in pkgIndex.tcl

Modified Paths:
--------------
    trunk/dports/databases/tcl-sqlite3/Portfile

Added Paths:
-----------
    trunk/dports/databases/tcl-sqlite3/files/
    trunk/dports/databases/tcl-sqlite3/files/tcl-shlib-suffix.diff

Modified: trunk/dports/databases/tcl-sqlite3/Portfile
===================================================================
--- trunk/dports/databases/tcl-sqlite3/Portfile	2010-10-13 05:17:34 UTC (rev 72396)
+++ trunk/dports/databases/tcl-sqlite3/Portfile	2010-10-13 05:53:02 UTC (rev 72397)
@@ -4,6 +4,7 @@
 
 name			tcl-sqlite3
 version			3.6.22
+revision        1
 categories		databases
 platforms		darwin
 maintainers		mww
@@ -28,6 +29,8 @@
 				port:sqlite3 \
 				port:tcl
 
+patchfiles      tcl-shlib-suffix.diff
+
 post-patch {
 	reinplace "s|tclsh8.4|tclsh|g" ${worksrcpath}/configure
 }

Added: trunk/dports/databases/tcl-sqlite3/files/tcl-shlib-suffix.diff
===================================================================
--- trunk/dports/databases/tcl-sqlite3/files/tcl-shlib-suffix.diff	                        (rev 0)
+++ trunk/dports/databases/tcl-sqlite3/files/tcl-shlib-suffix.diff	2010-10-13 05:53:02 UTC (rev 72397)
@@ -0,0 +1,21 @@
+--- configure.orig	2010-10-13 16:32:20.000000000 +1100
++++ configure	2010-10-13 16:38:23.000000000 +1100
+@@ -885,6 +885,7 @@
+ TCL_LIB_FILE
+ TCL_LIB_FLAG
+ TCL_LIB_SPEC
++TCL_SHLIB_SUFFIX
+ TCL_STUB_LIB_FILE
+ TCL_STUB_LIB_FLAG
+ TCL_STUB_LIB_SPEC
+--- Makefile.in.orig	2010-01-05 11:02:40.000000000 +1100
++++ Makefile.in	2010-10-13 16:39:31.000000000 +1100
+@@ -793,7 +793,7 @@
+ 	$(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(pkgconfigdir)
+ 
+ pkgIndex.tcl:
+-	echo 'package ifneeded sqlite3 $(RELEASE) [list load $(TCLLIBDIR)/libtclsqlite3.so sqlite3]' > $@
++	echo 'package ifneeded sqlite3 $(RELEASE) [list load $(TCLLIBDIR)/libtclsqlite3$(SHLIB_SUFFIX) sqlite3]' > $@
+ tcl_install:	lib_install libtclsqlite3.la pkgIndex.tcl
+ 	$(INSTALL) -d $(DESTDIR)$(TCLLIBDIR)
+ 	$(LTINSTALL) libtclsqlite3.la $(DESTDIR)$(TCLLIBDIR)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101012/bbb00a02/attachment.html>


More information about the macports-changes mailing list