[33146] trunk/dports/net/libnet/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 19 05:45:49 PST 2008


Revision: 33146
          http://trac.macosforge.org/projects/macports/changeset/33146
Author:   ryandesign at macports.org
Date:     2008-01-19 05:45:37 -0800 (Sat, 19 Jan 2008)

Log Message:
-----------
libnet: use libtool port for config.guess and config.sub since Xcode 2.5 no longer provides these; closes #13334 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/net/libnet/Portfile

Modified: trunk/dports/net/libnet/Portfile
===================================================================
--- trunk/dports/net/libnet/Portfile	2008-01-19 13:03:32 UTC (rev 33145)
+++ trunk/dports/net/libnet/Portfile	2008-01-19 13:45:37 UTC (rev 33146)
@@ -31,9 +31,9 @@
 post-configure	{ reinplace "s|\$\{prefix\}/man|\$\{prefix\}/share/man|g" ${worksrcpath}/Makefile }
 
 platform darwin {
+	depends_lib-append port:libtool
 	pre-configure {
-		file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess
-		file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub
+		copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
 	}
 }
 

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


More information about the macports-changes mailing list