[28423] trunk/dports/archivers/p7zip/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 30 15:13:11 PDT 2007


Revision: 28423
          http://trac.macosforge.org/projects/macports/changeset/28423
Author:   simon at macports.org
Date:     2007-08-30 15:13:10 -0700 (Thu, 30 Aug 2007)

Log Message:
-----------
archivers/p7zip: Added universal support, closes #12403. Thanks to meissnem at gmail.com.

Modified Paths:
--------------
    trunk/dports/archivers/p7zip/Portfile

Modified: trunk/dports/archivers/p7zip/Portfile
===================================================================
--- trunk/dports/archivers/p7zip/Portfile	2007-08-30 21:31:59 UTC (rev 28422)
+++ trunk/dports/archivers/p7zip/Portfile	2007-08-30 22:13:10 UTC (rev 28423)
@@ -32,9 +32,12 @@
 	}
 }
 
+post-configure {
+	if {[variant_isset universal]} {
+		reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" ${worksrcpath}/makefile.machine
+	}
+}
+
 destroot.destdir	DEST_HOME=${prefix} \
 					DEST_MAN=${prefix}/share/man \
 					DEST_DIR=${destroot}
-
-universal_variant no
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070830/73c802ac/attachment.html


More information about the macports-changes mailing list