[81353] trunk/dports/graphics/wxWidgets/Portfile
jwa at macports.org
jwa at macports.org
Fri Jul 29 09:24:21 PDT 2011
Revision: 81353
http://trac.macports.org/changeset/81353
Author: jwa at macports.org
Date: 2011-07-29 09:24:20 -0700 (Fri, 29 Jul 2011)
Log Message:
-----------
fix build on 10.7, change default to be nonmonolithic
Modified Paths:
--------------
trunk/dports/graphics/wxWidgets/Portfile
Modified: trunk/dports/graphics/wxWidgets/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets/Portfile 2011-07-29 13:32:19 UTC (rev 81352)
+++ trunk/dports/graphics/wxWidgets/Portfile 2011-07-29 16:24:20 UTC (rev 81353)
@@ -5,7 +5,7 @@
name wxWidgets
conflicts wxgtk wxWidgets-python
-epoch 2
+epoch 3
version 2.8.12
categories graphics devel
@@ -74,8 +74,7 @@
--with-mac \
--disable-sdltest \
--enable-unicode \
- --enable-display \
- --enable-monolithic
+ --enable-display
set contrib "gizmos stc ogl"
set installtype release
@@ -88,6 +87,12 @@
supported_archs i386 ppc
configure.cppflags-append -arch ${configure.build_arch}
+platform darwin 11 {
+ configure.args-append \
+ --with-macosx-sdk=/Developer/SDKs/MacOSX10.67.sdk \
+ --with-macosx-version-min=10.6
+}
+
post-build {
foreach c { ${contrib} } {
system "cd ${build.dir} && make -C contrib/src/${c}"
@@ -111,8 +116,8 @@
ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
}
-variant nonmonolithic description {build libraries separately} {
- configure.args-delete --enable-monolithic
+variant monolithic description {build only one library} {
+ configure.args-append --enable-monolithic
}
variant debug description {add debug info to libraries} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110729/cc17ccf6/attachment.html>
More information about the macports-changes
mailing list