[71483] trunk/dports/games/wesnoth

ryandesign at macports.org ryandesign at macports.org
Tue Sep 14 13:37:28 PDT 2010


Revision: 71483
          http://trac.macports.org/changeset/71483
Author:   ryandesign at macports.org
Date:     2010-09-14 13:37:27 -0700 (Tue, 14 Sep 2010)
Log Message:
-----------
wesnoth: don't build tests; we are not a development version (fix assumption that expr is GNU expr by not calling expr at all)

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

Added Paths:
-----------
    trunk/dports/games/wesnoth/files/patch-configure.ac.diff

Modified: trunk/dports/games/wesnoth/Portfile
===================================================================
--- trunk/dports/games/wesnoth/Portfile	2010-09-14 20:02:30 UTC (rev 71482)
+++ trunk/dports/games/wesnoth/Portfile	2010-09-14 20:37:27 UTC (rev 71483)
@@ -42,7 +42,8 @@
                         port:gettext \
                         port:zlib
 
-patchfiles              patch-m4-boost.m4.diff
+patchfiles              patch-configure.ac.diff \
+                        patch-m4-boost.m4.diff
 
 use_autoreconf          yes
 

Added: trunk/dports/games/wesnoth/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/games/wesnoth/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/games/wesnoth/files/patch-configure.ac.diff	2010-09-14 20:37:27 UTC (rev 71483)
@@ -0,0 +1,18 @@
+https://gna.org/bugs/?16696
+--- configure.ac.orig	2010-08-08 10:53:09.000000000 -0500
++++ configure.ac	2010-09-14 15:16:43.000000000 -0500
+@@ -114,14 +114,8 @@
+ 	CXXFLAGS="-Werror -Wno-unused-parameter -Wno-strict-aliasing $CXXFLAGS"
+ fi
+ 
+-# Make tests default in svn version
+-svn_in_version=`expr match "$WESNOTH_VERSION" '.*svn'`
+-test_build=yes
+-if test $svn_in_version = 0 
+-then
+ 	#disabling building tests for release version
+ 	test_build=no
+-fi
+ 
+ AC_ARG_ENABLE([tests],
+        	      AS_HELP_STRING([--enable-tests], [build unit tests]),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100914/fb6cf837/attachment.html>


More information about the macports-changes mailing list