aboutsummaryrefslogtreecommitdiff
path: root/graphics/libmng
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
commit548387be8002521e3aa9b0c8ae2b343d9d3520eb (patch)
treeec7ba00fd2a8b535baa75d1a42a0f7d7096519e9 /graphics/libmng
parentbcbf81722c6ee8e04ddbb164394bf1905b2a3fa4 (diff)
downloadports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.tar.gz
ports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.zip
Use USE_REINPLACE.
Notes
Notes: svn path=/head/; revision=62815
Diffstat (limited to 'graphics/libmng')
-rw-r--r--graphics/libmng/Makefile4
1 files changed, 3 insertions, 1 deletions
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: