[101536] trunk/dports/lang/apple-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jan 13 00:51:00 PST 2013


Revision: 101536
          https://trac.macports.org/changeset/101536
Author:   jeremyhu at macports.org
Date:     2013-01-13 00:51:00 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
apple-gcc42: Remove redundant LANGUAGES from build.env

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc42/Portfile

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2013-01-13 08:18:58 UTC (rev 101535)
+++ trunk/dports/lang/apple-gcc42/Portfile	2013-01-13 08:51:00 UTC (rev 101536)
@@ -166,7 +166,6 @@
 
 # TODO: Better use of MacPorts dependencies
 build.env \
-    LANGUAGES="c,c++,objc,obj-c++" \
     LIBRARY_PATH="/usr/lib" \
     CPATH="/usr/include" \
     PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
@@ -185,7 +184,7 @@
     OTOOL64=${prefix}/bin/otool
 
 build.args-append \
-    CC="${configure.cc} -std=gnu89" \
+    CC="${configure.cc} -pipe -std=gnu89" \
     PREFIX="${prefix}" \
     SRCROOT="${srcroot}" \
     OBJROOT="${objroot}" \
@@ -193,7 +192,9 @@
     DSTROOT="${destroot}" \
     RC_NONARCH_CFLAGS="-pipe -std=gnu89" \
     RC_OS="macos" \
-    RC_ARCHS="[get_canonical_archs]"
+    RC_ARCHS="[get_canonical_archs]" \
+    RC_ProjectSourceVersion="[lindex [split ${version} .] 0]" \
+    RC_ProjectSourceSubversion="[lindex [split ${version} .] 1]"
 
 # On Tiger, we need apple-gcc42 to build llvm, which is needed for cctools
 variant bootstrap description {Variant to break a dependency cycle on Tiger by first building an apple-gcc42 using host ld and cctools} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/8ee36136/attachment.html>


More information about the macports-changes mailing list