diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 17:58:57 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 17:58:57 +0000 |
commit | 47d2777b16fe58d7241c0b04f9e9fe33ccfe287c (patch) | |
tree | 2ba4663f7a77b3d3d8d06f53731959f9319d7e08 /graphics/Mesa3/Makefile | |
parent | 16581da32047c74cb1b8ce8680e66f0677450d3a (diff) |
Use USE_REINPLACE.
Notes
Notes:
svn path=/head/; revision=63210
Diffstat (limited to 'graphics/Mesa3/Makefile')
-rw-r--r-- | graphics/Mesa3/Makefile | 5 |
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 |