[91672] trunk/dports/sysutils/cdrtools/Portfile

jmr at macports.org jmr at macports.org
Sat Apr 7 08:37:29 PDT 2012


Revision: 91672
          https://trac.macports.org/changeset/91672
Author:   jmr at macports.org
Date:     2012-04-07 08:37:28 -0700 (Sat, 07 Apr 2012)
Log Message:
-----------
cdrtools: avoid llvm-gcc-4.2 and older clang versions

Modified Paths:
--------------
    trunk/dports/sysutils/cdrtools/Portfile

Modified: trunk/dports/sysutils/cdrtools/Portfile
===================================================================
--- trunk/dports/sysutils/cdrtools/Portfile	2012-04-07 14:01:43 UTC (rev 91671)
+++ trunk/dports/sysutils/cdrtools/Portfile	2012-04-07 15:37:28 UTC (rev 91672)
@@ -41,11 +41,21 @@
 
 use_configure	no
 
+# hangs the same way as smake itself with both llvm-gcc-4.2 and
+# Xcode 4.1's clang
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler  gcc-4.2
+} elseif {${configure.compiler} == "clang" && [vercmp $xcodeversion 4.3] < 0} {
+    depends_build-append port:apple-gcc42
+    configure.compiler  apple-gcc-4.2
+}
+
 build.cmd	smake
+build.args  CC=${configure.cc}
 
 use_parallel_build no
 
-destroot.args   DEFINSUSR=root DEFINSGRP=wheel INS_BASE=${prefix}
+destroot.args   DEFINSUSR=${install.user} DEFINSGRP=${install.group} INS_BASE=${prefix}
 
 post-destroot {
     move ${destroot}/etc/default ${destroot}${prefix}/etc/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120407/4e9ede22/attachment.html>


More information about the macports-changes mailing list