[42929] trunk/dports/devel/libtool1

jmr at macports.org jmr at macports.org
Tue Dec 2 07:26:33 PST 2008


Revision: 42929
          http://trac.macports.org/changeset/42929
Author:   jmr at macports.org
Date:     2008-12-02 07:26:31 -0800 (Tue, 02 Dec 2008)
Log Message:
-----------
libtool1: prevent conflicts with libtool

Modified Paths:
--------------
    trunk/dports/devel/libtool1/Portfile

Added Paths:
-----------
    trunk/dports/devel/libtool1/files/patch-configure.diff

Modified: trunk/dports/devel/libtool1/Portfile
===================================================================
--- trunk/dports/devel/libtool1/Portfile	2008-12-02 14:56:47 UTC (rev 42928)
+++ trunk/dports/devel/libtool1/Portfile	2008-12-02 15:26:31 UTC (rev 42929)
@@ -24,15 +24,27 @@
 
 depends_build   port:automake
 
-configure.args  --program-prefix=g
+configure.args  --program-prefix=g \
+                --program-suffix=1 \
+                --includedir=${prefix}/include/${name} \
+                --libdir=${prefix}/lib/${name}
 
-patchfiles       patch-libtool.m4.diff
+patchfiles       patch-libtool.m4.diff \
+                 patch-configure.diff
 
 post-destroot {
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
         TODO ${destroot}${docdir}
+    move ${destroot}${prefix}/share/libtool \
+         ${destroot}${prefix}/share/${name}
+    move ${destroot}${prefix}/share/aclocal/libtool.m4 \
+         ${destroot}${prefix}/share/aclocal/libtool1.m4
+    move ${destroot}${prefix}/share/aclocal/ltdl.m4 \
+         ${destroot}${prefix}/share/aclocal/ltdl1.m4
+    move ${destroot}${prefix}/share/info/libtool.info \
+         ${destroot}${prefix}/share/info/libtool1.info
 }
 
 test.run        yes

Added: trunk/dports/devel/libtool1/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/libtool1/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/libtool1/files/patch-configure.diff	2008-12-02 15:26:31 UTC (rev 42929)
@@ -0,0 +1,11 @@
+--- configure.orig	2008-12-03 02:02:36.000000000 +1100
++++ configure	2008-12-03 02:09:15.000000000 +1100
+@@ -750,7 +750,7 @@
+ SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ # Identity of this package.
+-PACKAGE_NAME='libtool'
++PACKAGE_NAME='libtool1'
+ PACKAGE_TARNAME='libtool'
+ PACKAGE_VERSION='1.5.26'
+ PACKAGE_STRING='libtool 1.5.26'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081202/e27e26ff/attachment.html>


More information about the macports-changes mailing list