[78356] trunk/dports/devel/bsdiff/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed May 4 04:55:38 PDT 2011


Revision: 78356
          http://trac.macports.org/changeset/78356
Author:   ryandesign at macports.org
Date:     2011-05-04 04:55:38 -0700 (Wed, 04 May 2011)
Log Message:
-----------
bsdiff: respect build_arch and ensure we're UsingTheRightCompiler

Modified Paths:
--------------
    trunk/dports/devel/bsdiff/Portfile

Modified: trunk/dports/devel/bsdiff/Portfile
===================================================================
--- trunk/dports/devel/bsdiff/Portfile	2011-05-04 09:41:57 UTC (rev 78355)
+++ trunk/dports/devel/bsdiff/Portfile	2011-05-04 11:55:38 UTC (rev 78356)
@@ -32,10 +32,14 @@
 if {[variant_isset universal]} {
     eval configure.cflags-append    ${configure.universal_cflags}
     eval configure.ldflags-append   ${configure.universal_ldflags}
+} else {
+    eval configure.cflags-append    ${configure.cc_archflags}
+    eval configure.ldflags-append   ${configure.ld_archflags}
 }
 
 build.type       bsd
-build.env-append CFLAGS="${configure.cflags}" \
+build.env-append CC="${configure.cc}" \
+                 CFLAGS="${configure.cflags}" \
                  LDFLAGS="${configure.ldflags}"
 
 destroot.destdir PREFIX=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110504/71ab3d4d/attachment-0001.html>


More information about the macports-changes mailing list