[31837] trunk/dports/archivers/xar-devel

afb at macports.org afb at macports.org
Sun Dec 9 11:25:34 PST 2007


Revision: 31837
          http://trac.macosforge.org/projects/macports/changeset/31837
Author:   afb at macports.org
Date:     2007-12-09 11:25:31 -0800 (Sun, 09 Dec 2007)

Log Message:
-----------
fix libtool convenience library

Modified Paths:
--------------
    trunk/dports/archivers/xar-devel/Portfile

Added Paths:
-----------
    trunk/dports/archivers/xar-devel/files/
    trunk/dports/archivers/xar-devel/files/patch-libxar.la.in.in

Modified: trunk/dports/archivers/xar-devel/Portfile
===================================================================
--- trunk/dports/archivers/xar-devel/Portfile	2007-12-09 16:48:59 UTC (rev 31836)
+++ trunk/dports/archivers/xar-devel/Portfile	2007-12-09 19:25:31 UTC (rev 31837)
@@ -25,6 +25,8 @@
                     port:openssl \
                     port:zlib
 
+patchfiles          patch-libxar.la.in.in
+
 pre-configure {
     system "cd ${worksrcpath}; ./autogen.sh"
 }
@@ -36,6 +38,10 @@
                     --with-libcrypto=${prefix} \
                     --with-xml2-config=${prefix}/bin/xml2-config
 
+post-destroot {
+    reinplace "s/installed=no/installed=yes/" ${destpath}${prefix}/lib/libxar.la
+}
+
 platform darwin 8 {
     configure.compiler	gcc-4.0
 }

Added: trunk/dports/archivers/xar-devel/files/patch-libxar.la.in.in
===================================================================
--- trunk/dports/archivers/xar-devel/files/patch-libxar.la.in.in	                        (rev 0)
+++ trunk/dports/archivers/xar-devel/files/patch-libxar.la.in.in	2007-12-09 19:25:31 UTC (rev 31837)
@@ -0,0 +1,8 @@
+--- lib/libxar.la.in.in	2007/09/12 15:47:42	1.1
++++ lib/libxar.la.in.in	2007/11/15 19:41:01	1.2
+@@ -32,4 +32,4 @@
+ dlpreopen=''
+ 
+ # Directory that this library needs to be installed in:
+-libdir=''
++libdir='@LIBDIR@'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071209/ecb9c710/attachment.html


More information about the macports-changes mailing list