From 9c048dad929f62669244962b0786384115b548ed Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sun, 6 Mar 2005 21:39:44 +0000 Subject: - Add another MASTER_SITE - Fix detection of libGL PR: 78512 Submitted by: Ulrich Spoerlein --- games/quake2forge/Makefile | 3 ++- games/quake2forge/files/patch-configure.in | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile index 534caaf3e423..06466a1c63be 100644 --- a/games/quake2forge/Makefile +++ b/games/quake2forge/Makefile @@ -8,7 +8,8 @@ PORTNAME= quake2forge PORTVERSION= 0.3 CATEGORIES= games -MASTER_SITES= ftp://ftp.quakeforge.net/quake2forge/ +MASTER_SITES= ftp://ftp.quakeforge.net/quake2forge/ \ + http://www.galgenberg.net/~q/ DISTNAME= quake2-${PORTVERSION} MAINTAINER= q@uni.de diff --git a/games/quake2forge/files/patch-configure.in b/games/quake2forge/files/patch-configure.in index 054b34a97af5..6566e0436aae 100644 --- a/games/quake2forge/files/patch-configure.in +++ b/games/quake2forge/files/patch-configure.in @@ -1,5 +1,5 @@ --- configure.in.orig Tue Mar 16 11:07:38 2004 -+++ configure.in Thu Aug 5 09:59:56 2004 ++++ configure.in Fri Mar 4 14:30:46 2005 @@ -109,6 +109,7 @@ # test for the library first, for people who may have the libs # installed but no headers @@ -16,3 +16,20 @@ AC_SUBST(SVGALIB_CFLAGS) AC_SUBST(SVGALIB_LIBS) else +@@ -221,7 +221,7 @@ + # --with-opengl was explicitly given, so look in that directory + if test "x${ac_with_opengl}" != xauto ; then + OPENGL_CFLAGS="$OPENGL_CFLAGS -I$withval/include" +- OPENGL_LIBS="$OPENGL_CFLAGS -L$withval/lib" ++ OPENGL_LIBS="$OPENGL_LIBS -L$withval/lib" + fi + # save and set CPPFLAGS for coming tests + save_CPPFLAGS="$CPPFLAGS" +@@ -263,7 +263,6 @@ + + if test "x$HAVE_OPENGL" = xyes; then + AC_DEFINE(HAVE_OPENGL, 1, [Define this if you have OpenGL]) +- OPENGL_LIBS="-lGL" + AC_SUBST(OPENGL_CFLAGS) + AC_SUBST(OPENGL_LIBS) + else -- cgit v1.2.3