aboutsummaryrefslogtreecommitdiff
path: root/graphics/mesagl
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
commit47d2777b16fe58d7241c0b04f9e9fe33ccfe287c (patch)
tree2ba4663f7a77b3d3d8d06f53731959f9319d7e08 /graphics/mesagl
parent16581da32047c74cb1b8ce8680e66f0677450d3a (diff)
downloadports-47d2777b16fe58d7241c0b04f9e9fe33ccfe287c.tar.gz
ports-47d2777b16fe58d7241c0b04f9e9fe33ccfe287c.zip
Notes
Diffstat (limited to 'graphics/mesagl')
-rw-r--r--graphics/mesagl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index 6e324e255f20..a8200a941dbe 100644
--- a/graphics/mesagl/Makefile
+++ b/graphics/mesagl/Makefile
@@ -19,6 +19,7 @@ DISTFILES= MesaLib-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER= sobomax@FreeBSD.org
USE_BZIP2= yes
+USE_REINPLACE= yes
.if defined(WANT_GGI)
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
@@ -53,10 +54,10 @@ MAKE_ENV+= SUB_GL="${SUB_GL}" \
INCLUDE_GL=${INCLUDE_GL}
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-configure:
- @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/config.c
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/config.c
post-install:
.for lib in GL GLU