summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-04-07 18:18:24 +0000
committerjmc <jmc@pkgsrc.org>2003-04-07 18:18:24 +0000
commit381ca879d558d7c7b94f3ee33f6b602a73430e2e (patch)
treefaa28637e1aef50667565c1c32e32cff8d8b2dad /games
parent4a8c9bea7e92fab24dbbc87432411d6d6a82aa75 (diff)
downloadpkgsrc-381ca879d558d7c7b94f3ee33f6b602a73430e2e.tar.gz
Pass -DGLX_GLXEXT_PROTOTYPES along in CFLAGS to configure as the
glXGetProcAddressARB prototype configure tests for isn't exposed otherwise in current versions of Mesa
Diffstat (limited to 'games')
-rw-r--r--games/tuxracer/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index 4ef0138abc3..e991bedfe4c 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/04/03 08:25:37 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2003/04/07 18:18:24 jmc Exp $
#
DISTNAME= tuxracer-0.61
@@ -15,7 +15,9 @@ COMMENT= 3D penguin racing game using OpenGL
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
+CFLAGS+= -DGLX_GLXEXT_PROTOTYPES
CONFIGURE_ARGS+= --with-data-dir=${PREFIX}/share/tuxracer
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
post-install:
cd ${WRKSRC}/html && \