[53498] trunk/dports/x11/wine-devel/Portfile
rmsfisher at macports.org
rmsfisher at macports.org
Mon Jul 6 20:55:32 PDT 2009
Revision: 53498
http://trac.macports.org/changeset/53498
Author: rmsfisher at macports.org
Date: 2009-07-06 20:55:32 -0700 (Mon, 06 Jul 2009)
Log Message:
-----------
x11/wine-devel added conditional pre-configure section to disable 16 bit compatibility on Xcode 3.x
Modified Paths:
--------------
trunk/dports/x11/wine-devel/Portfile
Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile 2009-07-07 01:59:44 UTC (rev 53497)
+++ trunk/dports/x11/wine-devel/Portfile 2009-07-07 03:55:32 UTC (rev 53498)
@@ -72,6 +72,14 @@
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
}
+pre-configure {
+ set current_xcodeversion [exec xcodebuild -version |awk 'NR=1{print \$2}{exit}']
+ if {[rpm-vercomp ${current_xcodeversion} 3.0] <= 0} {
+ configure.args-append --disable-win16
+ ui_msg "Xcode 3.x cannot build 16-bit code correctly. Because of this, WINE will be compiled without 16-bit support."
+ }
+}
+
livecheck.name ${my_name}
livecheck.check sourceforge
livecheck.regex "<title>Source Packages (\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*) released.*</title>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090706/f41bac8f/attachment.html>
More information about the macports-changes
mailing list