aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-OpenGL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-OpenGL/Makefile')
-rw-r--r--graphics/p5-OpenGL/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/p5-OpenGL/Makefile b/graphics/p5-OpenGL/Makefile
index 5738a36ba587..44d7e58afa46 100644
--- a/graphics/p5-OpenGL/Makefile
+++ b/graphics/p5-OpenGL/Makefile
@@ -17,11 +17,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module to display 3D data using OpenGL, GLU, GLUT, and GLX
-LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
-
+USE_XORG= glut
PERL_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g; s|/usr/X11R6|${X11BASE}|g" ${WRKSRC}/Makefile.PL
+ @${PERL} -pi -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g; s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>