diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
commit | 091dfe7895aef2457036ad52b4930489b2ad7d80 (patch) | |
tree | ddd64210ee572fd1065aba2066d346b6a1023a85 /graphics/mesagl | |
parent | ca8d57e8679c5a9614da3dd570e5863684344b10 (diff) | |
download | freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.zip |
Use USE_REINPLACE.
Diffstat (limited to 'graphics/mesagl')
-rw-r--r-- | graphics/mesagl/Makefile | 5 |
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 |