From 1d505be1165571da93ba50e8c446e0cd9f241eec Mon Sep 17 00:00:00 2001 From: jolan Date: Mon, 29 Oct 2007 22:57:04 +0000 Subject: [PATCH] enable gl support, from antti harri --- games/prboom/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/games/prboom/Makefile b/games/prboom/Makefile index f0c77670ae7..8c3fc415b02 100644 --- a/games/prboom/Makefile +++ b/games/prboom/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.12 2007/09/15 18:01:02 simon Exp $ +# $OpenBSD: Makefile,v 1.13 2007/10/29 22:57:04 jolan Exp $ COMMENT= enhanced clone of Id Software's Doom game; multiplayer DISTNAME= prboom-2.4.7 +PKGNAME= ${DISTNAME}p0 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/} @@ -12,7 +13,7 @@ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= SDL X11 Xext c m pthread usbhid z +WANTLIB= SDL X11 Xext c m pthread usbhid z GL GLU USE_X11=Yes @@ -20,10 +21,10 @@ LIB_DEPENDS= SDL_mixer.>=3::devel/sdl-mixer \ SDL_net.>=1::devel/sdl-net \ png.>=4::graphics/png -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libpng" \ +CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_STYLE=gnu -CONFIGURE_ARGS+=--disable-cpu-opt --disable-gl +CONFIGURE_ARGS+=--disable-cpu-opt MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools .include