diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
commit | 548387be8002521e3aa9b0c8ae2b343d9d3520eb (patch) | |
tree | ec7ba00fd2a8b535baa75d1a42a0f7d7096519e9 /graphics | |
parent | bcbf81722c6ee8e04ddbb164394bf1905b2a3fa4 (diff) | |
download | ports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.tar.gz ports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.zip |
Use USE_REINPLACE.
Notes
Notes:
svn path=/head/; revision=62815
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gle/Makefile | 3 | ||||
-rw-r--r-- | graphics/libgnomecanvas/Makefile | 5 | ||||
-rw-r--r-- | graphics/libmng/Makefile | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile index 186b31022879..e92fd6b43b77 100644 --- a/graphics/gle/Makefile +++ b/graphics/gle/Makefile @@ -18,6 +18,7 @@ MAINTAINER= dgilbert@velocet.ca USE_X_PREFIX= yes USE_MESA= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ENV= "LIBS=-L${X11BASE}/lib -lXext ${PTHREAD_LIBS}" @@ -30,7 +31,7 @@ MAN3= gle.3gle gleExtrusion.3gle gleHelicoid.3gle gleLathe.3gle \ post-patch: .for file in ex_angle.c ex_cut_round.c ex_raw.c extrude.c round_cap.c segment.c texgen.c - @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file} + @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file} .endfor .include <bsd.port.mk> diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile index 4fbf4d1f26ce..bd46911f8c2e 100644 --- a/graphics/libgnomecanvas/Makefile +++ b/graphics/libgnomecanvas/Makefile @@ -20,6 +20,7 @@ LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2 \ USE_BZIP2= yes USE_GMAKE= yes USE_X_PREFIX= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ @@ -29,7 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} pre-patch: - @find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \ - 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g' + @find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' .include <bsd.port.mk> diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index e983708279e8..8c5bb6290cf7 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -17,6 +17,8 @@ MAINTAINER= mi@aldan.algebra.com LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ lcms.1:${PORTSDIR}/graphics/lcms +USE_REINPLACE= yes + MAKEFILE= ${FILESDIR}/Makefile.bsd MAKE_ARGS+= -j2 @@ -26,7 +28,7 @@ MAN3= libmng.3 MAN5= mng.5 jng.5 post-patch: - test ! -e ${PREFIX}/include/lcms.h || ${PERL} -pi -e \ + test ! -e ${PREFIX}/include/lcms.h || ${REINPLACE_CMD} -e \ 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/libmng_types.h post-install: |