[130971] trunk/dports/devel/libmacho/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 4 01:12:39 PST 2015
Revision: 130971
https://trac.macports.org/changeset/130971
Author: jeremyhu at macports.org
Date: 2015-01-04 01:12:39 -0800 (Sun, 04 Jan 2015)
Log Message:
-----------
libmacho: Fix +universal build and use the right compiler
Modified Paths:
--------------
trunk/dports/devel/libmacho/Portfile
Modified: trunk/dports/devel/libmacho/Portfile
===================================================================
--- trunk/dports/devel/libmacho/Portfile 2015-01-04 08:32:36 UTC (rev 130970)
+++ trunk/dports/devel/libmacho/Portfile 2015-01-04 09:12:39 UTC (rev 130971)
@@ -4,7 +4,7 @@
PortSystem 1.0
name libmacho
version 862
-revision 1
+revision 2
categories devel
platforms darwin
maintainers jeremyhu openmaintainer
@@ -45,12 +45,16 @@
depends_lib-append port:libmacho-headers
supported_archs i386 x86_64
+ variant universal {}
build.dir ${worksrcpath}/libmacho
destroot.dir ${build.dir}
build.target libmacho.a libmacho.dylib
build.args \
+ CC="${configure.cc}" \
+ RC_CFLAGS="${configure.cflags} [get_canonical_archflags]" \
+ RC_ARCHS="[get_canonical_archs]" \
DEPENDENT_LIBS="" \
RC_ProjectSourceVersion=${version} \
INSTALL_NAME="${prefix}/lib/libmacho.1.dylib"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150104/0abb108b/attachment-0001.html>
More information about the macports-changes
mailing list