[83728] trunk/dports/games/sdl_sopwith

jmr at macports.org jmr at macports.org
Fri Sep 9 12:54:59 PDT 2011


Revision: 83728
          http://trac.macports.org/changeset/83728
Author:   jmr at macports.org
Date:     2011-09-09 12:54:59 -0700 (Fri, 09 Sep 2011)
Log Message:
-----------
sdl_sopwith: disable error when gtk is not found, as it's not even used

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

Added Paths:
-----------
    trunk/dports/games/sdl_sopwith/files/configure.patch

Modified: trunk/dports/games/sdl_sopwith/Portfile
===================================================================
--- trunk/dports/games/sdl_sopwith/Portfile	2011-09-09 19:46:57 UTC (rev 83727)
+++ trunk/dports/games/sdl_sopwith/Portfile	2011-09-09 19:54:59 UTC (rev 83728)
@@ -24,7 +24,7 @@
 depends_lib         path:lib/pkgconfig/sdl.pc:libsdl
 
 patchfiles          src_Makefile.in.patch src_sdl_video.c.patch \
-                    src_swmain.c.patch
+                    src_swmain.c.patch configure.patch
 
 configure.args      --mandir=${prefix}/share/man \
                     --disable-sdltest

Added: trunk/dports/games/sdl_sopwith/files/configure.patch
===================================================================
--- trunk/dports/games/sdl_sopwith/files/configure.patch	                        (rev 0)
+++ trunk/dports/games/sdl_sopwith/files/configure.patch	2011-09-09 19:54:59 UTC (rev 83728)
@@ -0,0 +1,17 @@
+--- configure.orig	2010-09-07 00:14:00.000000000 +1000
++++ configure	2011-09-10 05:50:30.000000000 +1000
+@@ -1615,14 +1615,6 @@
+      fi
+   fi
+ 
+-  if test $succeeded = yes; then
+-     
+-	SOPWITH_BINS="$SOPWITH_BINS" # gtksopwith"
+-	SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS" # gtk"
+-
+-  else
+-     { echo "configure: error: Library requirements (glib-2.0 >= 2.0 gtk+-2.0 >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
+-  fi
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110909/870cb124/attachment.html>


More information about the macports-changes mailing list