aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/Mesa3
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-19 01:58:57 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-19 01:58:57 +0800
commit091dfe7895aef2457036ad52b4930489b2ad7d80 (patch)
treeddd64210ee572fd1065aba2066d346b6a1023a85 /graphics/Mesa3
parentca8d57e8679c5a9614da3dd570e5863684344b10 (diff)
downloadfreebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz
freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst
freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.zip
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 6e324e255f20..a8200a941dbe 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