summaryrefslogtreecommitdiffstats
path: root/graphics/Mesa3
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-18 17:58:57 +0000
commit091dfe7895aef2457036ad52b4930489b2ad7d80 (patch)
treeddd64210ee572fd1065aba2066d346b6a1023a85 /graphics/Mesa3
parentca8d57e8679c5a9614da3dd570e5863684344b10 (diff)
downloadFreeBSD-ports-091dfe7895aef2457036ad52b4930489b2ad7d80.zip
FreeBSD-ports-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz
Use USE_REINPLACE.
Diffstat (limited to 'graphics/Mesa3')
-rw-r--r--graphics/Mesa3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/Mesa3/Makefile b/graphics/Mesa3/Makefile
index 6e324e2..a8200a9 100644
--- a/graphics/Mesa3/Makefile
+++ b/graphics/Mesa3/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
OpenPOWER on IntegriCloud