[87102] trunk/dports/net/unbound/Portfile
snc at macports.org
snc at macports.org
Thu Nov 10 11:11:16 PST 2011
Revision: 87102
http://trac.macports.org/changeset/87102
Author: snc at macports.org
Date: 2011-11-10 11:11:15 -0800 (Thu, 10 Nov 2011)
Log Message:
-----------
unbound: +universal requires gcc, #31137
Modified Paths:
--------------
trunk/dports/net/unbound/Portfile
Modified: trunk/dports/net/unbound/Portfile
===================================================================
--- trunk/dports/net/unbound/Portfile 2011-11-10 18:56:55 UTC (rev 87101)
+++ trunk/dports/net/unbound/Portfile 2011-11-10 19:11:15 UTC (rev 87102)
@@ -32,6 +32,19 @@
checksums rmd160 f55623935e3772056a4ef10ff03cbb8805b30f1a \
sha256 83c7dc2756c488ab5bfcb9b25b81236a4ec42fb3d505267fcaf005555f3a2313
+if {[variant_isset universal]} {
+ 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
+ }
+ }
+}
+
configure.args-append --with-pidfile=${prefix}/var/run/${name}/${name}.pid
variant libevent description {Build with libevent (slower, but allows use of large outgoing port ranges)} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111110/b7efbcea/attachment.html>
More information about the macports-changes
mailing list