[92351] trunk/dports/devel/csu/Portfile
mfeiri at macports.org
mfeiri at macports.org
Wed Apr 25 16:30:54 PDT 2012
Revision: 92351
https://trac.macports.org/changeset/92351
Author: mfeiri at macports.org
Date: 2012-04-25 16:30:53 -0700 (Wed, 25 Apr 2012)
Log Message:
-----------
devel/csu: universal and new_linker
Modified Paths:
--------------
trunk/dports/devel/csu/Portfile
Modified: trunk/dports/devel/csu/Portfile
===================================================================
--- trunk/dports/devel/csu/Portfile 2012-04-25 22:29:34 UTC (rev 92350)
+++ trunk/dports/devel/csu/Portfile 2012-04-25 23:30:53 UTC (rev 92351)
@@ -3,9 +3,10 @@
PortSystem 1.0
name csu
version 79
+revision 1
categories devel
platforms darwin
-maintainers mfeiri openmaintainer
+maintainers mfeiri
license {APSL-1.1 APSL-2.0}
description Common startup and C runtime setup code
long_description Common startup and C runtime setup code
@@ -17,8 +18,13 @@
sha256 d052e1daa1f5de7fc02e7e7cb8b79ee2eeaad0f321c0a70bea4fc7217e232ec2
use_configure no
-build.args CC=${configure.cc}
+default_variants +universal
+build.env-append CC='${configure.cc} -Wl,-new_linker'
+variant universal {
+ build.env-append RC_ARCHS='${universal_archs}'
+}
+
post-extract {
reinplace "s|USRLIBDIR = /usr/lib|USRLIBDIR = ${destroot}${prefix}/lib|g" ${worksrcpath}/Makefile
reinplace "s|LOCLIBDIR = /usr/local/lib|LOCLIBDIR = ${destroot}${prefix}/lib|g" ${worksrcpath}/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120425/55310768/attachment.html>
More information about the macports-changes
mailing list