summaryrefslogtreecommitdiffstats
path: root/graphics/libwpcg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libwpcg/Makefile')
-rw-r--r--graphics/libwpcg/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile
index 7f8882b..409dfde 100644
--- a/graphics/libwpcg/Makefile
+++ b/graphics/libwpcg/Makefile
@@ -16,13 +16,12 @@ DISTNAME= libWPCG-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A basic 2D/3D computer graphics library which uses OpenGL
-LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
-
USE_GCC= 3.4
+USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
- LDFLAGS="-L${X11BASE}/lib -lGL -lGLU -lglut"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lGL -lGLU -lglut"
.include <bsd.port.pre.mk>
OpenPOWER on IntegriCloud