[82846] trunk/dports/net/pwlib/Portfile

jmr at macports.org jmr at macports.org
Sat Aug 20 19:46:32 PDT 2011


Revision: 82846
          http://trac.macports.org/changeset/82846
Author:   jmr at macports.org
Date:     2011-08-20 19:46:30 -0700 (Sat, 20 Aug 2011)
Log Message:
-----------
pwlib: don't use relative paths in post-patch reinplace

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

Modified: trunk/dports/net/pwlib/Portfile
===================================================================
--- trunk/dports/net/pwlib/Portfile	2011-08-21 02:37:38 UTC (rev 82845)
+++ trunk/dports/net/pwlib/Portfile	2011-08-21 02:46:30 UTC (rev 82846)
@@ -17,7 +17,7 @@
 master_sites      sourceforge:openh323
 platforms         darwin
 checksums         md5 0fa33ba1b32b254abe0b731a52c0f2f9
-set worksrcdir    pwlib
+worksrcdir    pwlib
 patchfiles	patch-all.diff
 configure.args    --mandir=${prefix}/share/man
 configure.env   PWLIBDIR="${worksrcpath}" \
@@ -32,8 +32,8 @@
 build.target      both
 post-patch {
 		reinplace "s|@@PREFIX@@|${prefix}|g" \
-			src/ptlib/unix/Makefile \
-			make/unix.mak
+			${worksrcpath}/src/ptlib/unix/Makefile \
+			${worksrcpath}/make/unix.mak
 }
 destroot {
 	# sigh sigh sigh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110820/e64f4115/attachment.html>


More information about the macports-changes mailing list