[30789] trunk/dports/games/54321/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 7 00:40:13 PST 2007


Revision: 30789
          http://trac.macosforge.org/projects/macports/changeset/30789
Author:   ryandesign at macports.org
Date:     2007-11-07 00:40:13 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
54321: don't use 'cd' command anymore since it won't work with MacPorts 1.6.0

Modified Paths:
--------------
    trunk/dports/games/54321/Portfile

Modified: trunk/dports/games/54321/Portfile
===================================================================
--- trunk/dports/games/54321/Portfile	2007-11-07 08:40:00 UTC (rev 30788)
+++ trunk/dports/games/54321/Portfile	2007-11-07 08:40:13 UTC (rev 30789)
@@ -34,10 +34,8 @@
 worksrcdir		${name}
 
 post-patch {
-	cd ${worksrcpath}/archs/Darwin
-
-	reinplace -E "/CXX/s/CC/g++/" variables.GNU
-	reinplace -E "s@/(usr/local|sw)@${prefix}@" variables.GNU
+	reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU
+	reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU
 }
 
 use_configure	no
@@ -52,10 +50,8 @@
 
 variant universal {
 	post-patch {
-		cd ${worksrcpath}/archs/Darwin
-
-		reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" variables.GNU
-		reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" variables.GNU
+		reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
+		reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
 	}
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071107/85c58808/attachment-0001.html


More information about the macports-changes mailing list