summaryrefslogtreecommitdiff
path: root/graphics/ftgl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ftgl/Makefile')
-rw-r--r--graphics/ftgl/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/ftgl/Makefile b/graphics/ftgl/Makefile
index 52558461ad7f..2158ea4bc0fa 100644
--- a/graphics/ftgl/Makefile
+++ b/graphics/ftgl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ftgl
PORTVERSION= 2.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://opengl.geek.nz/ftgl/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/([[:digit:]])$/.\1/}
@@ -19,13 +19,12 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_GMAKE= yes
-USE_GL= yes
-USE_X_PREFIX= yes
+USE_GL= gl
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME:U}
CONFIGURE_WRKSRC= ${WRKSRC}/unix
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-gl-inc=${X11BASE}/include --with-gl-lib=${X11BASE}/lib
+CONFIGURE_ARGS= --with-gl-inc=${LOCALBASE}/include --with-gl-lib=${LOCALBASE}/lib
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
MAKE_ENV= MKDIR="${MKDIR}"
@@ -47,7 +46,6 @@ post-install:
s|%%CFLAGS%%|${CFLAGS}|g; \
s|%%CXXFLAGS%%|${CXXFLAGS}|g; \
s|%%PREFIX%%|${PREFIX}|g; \
- s|%%X11BASE%%|${X11BASE}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
<${FILESDIR}/makefile.ex >${EXAMPLESDIR}/makefile