[51907] trunk/dports/devel/cableswig/Portfile
toby at macports.org
toby at macports.org
Sat Jun 6 01:48:27 PDT 2009
Revision: 51907
http://trac.macports.org/changeset/51907
Author: toby at macports.org
Date: 2009-06-06 01:48:27 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
protect against universal_sysroot removal
Modified Paths:
--------------
trunk/dports/devel/cableswig/Portfile
Modified: trunk/dports/devel/cableswig/Portfile
===================================================================
--- trunk/dports/devel/cableswig/Portfile 2009-06-06 08:43:10 UTC (rev 51906)
+++ trunk/dports/devel/cableswig/Portfile 2009-06-06 08:48:27 UTC (rev 51907)
@@ -46,13 +46,17 @@
-DBISON_YACC:FILEPATH=${prefix}/bin/bison \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_OSX_SYSROOT=${universal_sysroot} \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCSWIG_USE_SYSTEM_GCCXML:BOOL=OFF \
-DSWIG_BUILD_EXAMPLES:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF
+if {[info exists universal_sysroot]} {
+ configure.args-append \
+ -DCMAKE_OSX_SYSROOT=${universal_sysroot} \
+}
+
variant examples description "provide examples" {
configure.args-delete \
-DSWIG_BUILD_EXAMPLES:BOOL=OFF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090606/672e4fcd/attachment.html>
More information about the macports-changes
mailing list