[71215] trunk/dports/games
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 4 10:46:46 PDT 2010
Revision: 71215
http://trac.macports.org/changeset/71215
Author: ryandesign at macports.org
Date: 2010-09-04 10:46:42 -0700 (Sat, 04 Sep 2010)
Log Message:
-----------
alienarena, alienarena-data: Require Snow Leopard for now, until Leopard and Tiger build errors can be worked around
Modified Paths:
--------------
trunk/dports/games/alienarena/Portfile
trunk/dports/games/alienarena-data/Portfile
Modified: trunk/dports/games/alienarena/Portfile
===================================================================
--- trunk/dports/games/alienarena/Portfile 2010-09-04 16:00:28 UTC (rev 71214)
+++ trunk/dports/games/alienarena/Portfile 2010-09-04 17:46:42 UTC (rev 71215)
@@ -44,6 +44,22 @@
depends_run port:alienarena-data
+platform darwin {
+ pre-fetch {
+ # 10.4.11:
+ # ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
+ # The usual advice is to use -fno-common (e.g. http://gcc.gnu.org/ml/gcc/2005-06/msg00378.html)
+ # but this leads to several "multiple definitions of symbol" errors.
+ # 10.5.8:
+ # In file included from client/snd_openal.c:37:
+ # client/qal.h:108: error: syntax error before 'pqalcCreateContext'
+ if {${os.major} < 10} {
+ ui_error "Alien Arena requires Mac OS X 10.6 or greater at the moment."
+ return -code error "incompatible Mac OS X version"
+ }
+ }
+}
+
patch.dir ${worksrcpath}/source
post-extract {
Modified: trunk/dports/games/alienarena-data/Portfile
===================================================================
--- trunk/dports/games/alienarena-data/Portfile 2010-09-04 16:00:28 UTC (rev 71214)
+++ trunk/dports/games/alienarena-data/Portfile 2010-09-04 17:46:42 UTC (rev 71215)
@@ -32,6 +32,22 @@
checksums sha1 9c982d097d885af0cbd06bfbe6c4185936c43c4d \
rmd160 d20e167c66dec8ec072ecbf5833a4a4b46458a17
+platform darwin {
+ pre-fetch {
+ # 10.4.11:
+ # ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
+ # The usual advice is to use -fno-common (e.g. http://gcc.gnu.org/ml/gcc/2005-06/msg00378.html)
+ # but this leads to several "multiple definitions of symbol" errors.
+ # 10.5.8:
+ # In file included from client/snd_openal.c:37:
+ # client/qal.h:108: error: syntax error before 'pqalcCreateContext'
+ if {${os.major} < 10} {
+ ui_error "Alien Arena requires Mac OS X 10.6 or greater at the moment."
+ return -code error "incompatible Mac OS X version"
+ }
+ }
+}
+
post-extract {
# Remove pre-compiled Linux binaries that will be compiled properly by the alienarena port.
eval delete [glob ${worksrcpath}/data1/*.so]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100904/35e73d85/attachment.html>
More information about the macports-changes
mailing list