[74779] trunk/dports/print/psutils/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 2 01:28:07 PST 2011


Revision: 74779
          http://trac.macports.org/changeset/74779
Author:   ryandesign at macports.org
Date:     2011-01-02 01:28:00 -0800 (Sun, 02 Jan 2011)
Log Message:
-----------
psbind: support universal and non-default-build_arch builds

Modified Paths:
--------------
    trunk/dports/print/psutils/Portfile

Modified: trunk/dports/print/psutils/Portfile
===================================================================
--- trunk/dports/print/psutils/Portfile	2011-01-02 08:23:06 UTC (rev 74778)
+++ trunk/dports/print/psutils/Portfile	2011-01-02 09:28:00 UTC (rev 74779)
@@ -4,6 +4,7 @@
 
 name		psutils
 version		p17
+revision	1
 categories	print
 maintainers	jp-www at dcs.gla.ac.uk
 description	Useful utilities for manipulating PostScript documents
@@ -28,7 +29,13 @@
 }
 use_configure	no
 
-build.args	CC=${configure.cc}
+variant universal {}
+if {[variant_isset universal]} {
+	set archflags ${configure.universal_cflags}
+} else {
+	set archflags ${configure.cc_archflags}
+}
+build.args	CC="${configure.cc} ${archflags}"
 
 pre-destroot	{
 	reinplace "s|${prefix}|${destroot}${prefix}|g" "${worksrcpath}/Makefile"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110102/a0741691/attachment-0001.html>


More information about the macports-changes mailing list