[39470] trunk/dports/net/netwib/Portfile
jmr at macports.org
jmr at macports.org
Thu Aug 21 07:48:00 PDT 2008
Revision: 39470
http://trac.macosforge.org/projects/macports/changeset/39470
Author: jmr at macports.org
Date: 2008-08-21 07:47:58 -0700 (Thu, 21 Aug 2008)
Log Message:
-----------
netwib: remove use of cd (#16358)
Modified Paths:
--------------
trunk/dports/net/netwib/Portfile
Modified: trunk/dports/net/netwib/Portfile
===================================================================
--- trunk/dports/net/netwib/Portfile 2008-08-21 07:52:56 UTC (rev 39469)
+++ trunk/dports/net/netwib/Portfile 2008-08-21 14:47:58 UTC (rev 39470)
@@ -32,13 +32,12 @@
worksrcdir ${distname}-src/src
pre-configure {
- cd ${worksrcpath}
- reinplace "s|/usr/local|${prefix}|g" config.dat
- reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
- reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
- reinplace "s|/man|/share/man|g" config.dat
- reinplace "s|/share/man3|/man3|g" config.dat
- reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" genemake
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.dat
+ reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" ${worksrcpath}/config.dat
+ reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" ${worksrcpath}/config.dat
+ reinplace "s|/man|/share/man|g" ${worksrcpath}/config.dat
+ reinplace "s|/share/man3|/man3|g" ${worksrcpath}/config.dat
+ reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" ${worksrcpath}/genemake
}
configure.pre_args {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080821/f7ac9edf/attachment.html
More information about the macports-changes
mailing list