[92577] trunk/dports/games/alienarena/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 1 11:00:53 PDT 2012


Revision: 92577
          https://trac.macports.org/changeset/92577
Author:   ryandesign at macports.org
Date:     2012-05-01 11:00:53 -0700 (Tue, 01 May 2012)
Log Message:
-----------
alienarena: use bundled ode because alienarena is incompatible with ode 0.12 which is in the ode port now; see #34283

Modified Paths:
--------------
    trunk/dports/games/alienarena/Portfile

Modified: trunk/dports/games/alienarena/Portfile
===================================================================
--- trunk/dports/games/alienarena/Portfile	2012-05-01 17:47:53 UTC (rev 92576)
+++ trunk/dports/games/alienarena/Portfile	2012-05-01 18:00:53 UTC (rev 92577)
@@ -54,13 +54,14 @@
 }
 
 if {${name} == ${subport}} {
+    revision                    1
+    
     depends_build               port:pkgconfig
     
     depends_lib                 port:curl \
                                 port:freetype \
                                 port:jpeg \
                                 port:libvorbis \
-                                port:ode \
                                 port:openal \
                                 port:mesa \
                                 port:xorg-libX11 \
@@ -92,7 +93,7 @@
     configure.args              --disable-silent-rules \
                                 --x-includes=${prefix}/include \
                                 --x-libraries=${prefix}/lib \
-                                --with-system-libode \
+                                --without-system-libode \
                                 --with-xf86dga \
                                 --with-xf86vm
     
@@ -110,6 +111,10 @@
     # client/qal.h:34: error: syntax error before 'pqalEnable'
     #configure.cflags-append -DAL_NO_PROTOTYPES
     
+    # Prevent finding an installed version of ode which would cause a build error.
+    configure.cppflags-delete   -I${prefix}/include
+    configure.cppflags-append   -isystem${prefix}/include
+    
     post-destroot {
         xinstall -d ${destroot}${prefix}/share/${name}
         copy ${worksrcpath}/arena ${worksrcpath}/botinfo ${worksrcpath}/data1 ${destroot}${prefix}/share/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/cf9413f1/attachment.html>


More information about the macports-changes mailing list