[45277] trunk/dports/lang/stklos

mww at macports.org mww at macports.org
Mon Jan 12 10:35:59 PST 2009


Revision: 45277
          http://trac.macports.org/changeset/45277
Author:   mww at macports.org
Date:     2009-01-12 10:35:59 -0800 (Mon, 12 Jan 2009)
Log Message:
-----------
version 0.98, move libdir to avoid conflicts of specialized aux libs (gc, ffi)

Modified Paths:
--------------
    trunk/dports/lang/stklos/Portfile

Added Paths:
-----------
    trunk/dports/lang/stklos/files/
    trunk/dports/lang/stklos/files/patch-configure.diff

Modified: trunk/dports/lang/stklos/Portfile
===================================================================
--- trunk/dports/lang/stklos/Portfile	2009-01-12 17:53:03 UTC (rev 45276)
+++ trunk/dports/lang/stklos/Portfile	2009-01-12 18:35:59 UTC (rev 45277)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			stklos
-version			0.97
+version			0.98
 categories		lang
 platforms		darwin
 maintainers		mww
@@ -16,17 +16,27 @@
 				application.
 
 homepage		http://www.stklos.org/
-master_sites	sourceforge
-checksums		sha1 f69c38ecee775ac5178594f7fecc8651c5bb6190
+master_sites		http://www.stklos.org/download/
+checksums		sha1 9e7be62703c36af520b13ac37368d3951878c5c4
+patchfiles		patch-configure.diff
 
 depends_lib		port:gmp port:pcre
 
 configure.args	--mandir=${prefix}/share/man \
 				--disable-gtk \
-				--disable-gnome
+				--disable-gnome \
+				--libdir=${prefix}/lib/${name}
 
 test.run		yes
 
+post-destroot {
+	# remove doc files etc. from aux libs that are available separately
+	delete ${destroot}${prefix}/share/gc
+	delete ${destroot}${prefix}/share/info
+	delete ${destroot}${prefix}/share/man/man3
+	delete ${destroot}${prefix}/lib/stklos/pkgconfig
+}
+
 livecheck.version	stklos-${version}
 
 platform darwin 9 {

Added: trunk/dports/lang/stklos/files/patch-configure.diff
===================================================================
--- trunk/dports/lang/stklos/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/lang/stklos/files/patch-configure.diff	2009-01-12 18:35:59 UTC (rev 45277)
@@ -0,0 +1,20 @@
+--- configure	2008-05-03 22:43:30.000000000 +0200
++++ configure	2009-01-12 19:26:02.000000000 +0100
+@@ -6731,7 +6731,7 @@
+ if test "$HAVE_GC" = "no"
+ then
+   echo "No Boehm-Demers-Weiser GC library. Using the one provided with the package"
+-  (cd gc; CC="$CC" CFLAGS="$CFLAGS" sh ./configure --prefix=$prefix \
++  (cd gc; CC="$CC" CFLAGS="$CFLAGS" sh ./configure --prefix=$prefix --libdir=$libdir \
+           --includedir=$prefix/include/stklos \
+           --enable-threads=$THREADS) || { echo "Cannot configure the GC"; exit; }
+ 
+@@ -6793,7 +6793,7 @@
+   echo "Configuring libffi"
+   (cd ffi; CC=${CC} CFLAGS=${CFLAGS} ./configure \
+            --disable-structs --disable-raw-api --disable-shared \
+-	   --prefix=$prefix)
++	   --prefix=$prefix --libdir=$libdir)
+   LIBS="$LIBS ../ffi/.libs/libffi.a"
+   CFLAGS="$CFLAGS -I../ffi/include"
+   LIBFFI="ffi"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090112/555b0acb/attachment.html>


More information about the macports-changes mailing list