[47521] trunk/dports/games/wesnoth/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Feb 28 14:25:20 PST 2009


Revision: 47521
          http://trac.macports.org/changeset/47521
Author:   jeremyhu at macports.org
Date:     2009-02-28 14:25:20 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
wesnoth: Fix compilation and update X11 dependencies

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

Modified: trunk/dports/games/wesnoth/Portfile
===================================================================
--- trunk/dports/games/wesnoth/Portfile	2009-02-28 22:24:43 UTC (rev 47520)
+++ trunk/dports/games/wesnoth/Portfile	2009-02-28 22:25:20 UTC (rev 47521)
@@ -23,7 +23,7 @@
 master_sites	sourceforge
 use_bzip2	yes
 use_parallel_build	yes
-depends_lib	port:xorg-libs \
+depends_lib	port:xorg-libX11 \
 		port:boost \
 		port:libsdl \
 		port:libsdl_image \
@@ -41,13 +41,9 @@
 				--disable-desktop-entry \
 				--disable-sdltest \
 				--disable-python \
-				--disable-server
+				--disable-server \
+				--with-boost=${prefix}/include/boost
 
-pre-configure {
-	configure.args-append \
-				--with-boost=${prefix}/include/[strsed [file readlink ${prefix}/include/boost] {g|/boost||}]
-}
-
 platform macosx {
 	pre-destroot	{
 		xinstall -d ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/fea93f56/attachment.html>


More information about the macports-changes mailing list