[87073] trunk/dports/security/pwman/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Nov 9 09:01:45 PST 2011
Revision: 87073
http://trac.macports.org/changeset/87073
Author: ryandesign at macports.org
Date: 2011-11-09 09:01:40 -0800 (Wed, 09 Nov 2011)
Log Message:
-----------
pwman: use gcc-4.2 instead of clang or llvm-gcc-4.2; see #31994
Modified Paths:
--------------
trunk/dports/security/pwman/Portfile
Modified: trunk/dports/security/pwman/Portfile
===================================================================
--- trunk/dports/security/pwman/Portfile 2011-11-09 16:27:53 UTC (rev 87072)
+++ trunk/dports/security/pwman/Portfile 2011-11-09 17:01:40 UTC (rev 87073)
@@ -28,6 +28,17 @@
configure.args --mandir=${prefix}/share/man
+if {${configure.compiler} == "clang" ||
+ ${configure.compiler} == "llvm-gcc-4.2"} {
+ configure.compiler gcc-4.2
+ if {![file executable ${configure.cc}]} {
+ depends_build-append port:apple-gcc42
+ configure.compiler apple-gcc-4.2
+ # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
+ configure.cxx ${prefix}/bin/g++-apple-4.2
+ }
+}
+
livecheck.url ${homepage}
livecheck.regex {/pwman-(.+?)/ChangeLog}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111109/3b30c673/attachment-0001.html>
More information about the macports-changes
mailing list