aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/quakeforge/Makefile6
-rw-r--r--games/quakeforge/files/patch-ab11
2 files changed, 13 insertions, 4 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index 01d2469016ca..81b39d2c62d7 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -18,16 +18,16 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${WADFILE}
MAINTAINER= darius@dons.net.au
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10 \
+BUILD_DEPENDS= ${ACLOCAL}:${PORTSDIR}/devel/automake14
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
${GL_DEPENDS}
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
WADFILE= quakesw-1.0.6.tar.gz
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOCONF_VER=213
-USE_AUTOMAKE= yes
USE_XLIB= yes
PLIST= ${WRKDIR}/PLIST
diff --git a/games/quakeforge/files/patch-ab b/games/quakeforge/files/patch-ab
index 3a94eff219a5..00d831f65b03 100644
--- a/games/quakeforge/files/patch-ab
+++ b/games/quakeforge/files/patch-ab
@@ -2,7 +2,7 @@
$FreeBSD$
--- configure.in.orig Sun Feb 27 13:26:03 2000
-+++ configure.in Wed Jan 24 23:42:29 2001
++++ configure.in Wed Apr 17 17:43:43 2002
@@ -210,7 +210,7 @@
fi
save_CPPFLAGS="$CPPFLAGS"
@@ -21,3 +21,12 @@ $FreeBSD$
fi
if test "x$HAS_SDL" != xyes; then
SDL_CFLAGS="" SDL_LIBS=""
+@@ -343,7 +343,7 @@
+
+ dnl Make sure -lSDL works
+ if test "x$HAS_SDL" = xyes; then
+- AC_CHECK_LIB(SDL, SDL_Init, SDL_LIBS="$SDL_LIBS -lSDL"
++ AC_CHECK_LIB(SDL-1.1, SDL_Init, SDL_LIBS="$SDL_LIBS"
+ HAS_SDL=yes, HAS_SDL=no, [$SDL_LIBS])
+ fi
+ if test "x$HAS_SDL" != xyes; then