aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
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
parentca8d57e8679c5a9614da3dd570e5863684344b10 (diff)
downloadfreebsd-ports-graphics-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz
freebsd-ports-graphics-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst
freebsd-ports-graphics-091dfe7895aef2457036ad52b4930489b2ad7d80.zip
Use USE_REINPLACE.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa3/Makefile5
-rw-r--r--graphics/mesagl/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/graphics/Mesa3/Makefile b/graphics/Mesa3/Makefile
index 6e324e255f2..a8200a941db 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
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index 6e324e255f2..a8200a941db 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