summaryrefslogtreecommitdiff
path: root/print/hpijs
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-06-27 23:52:18 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-06-27 23:52:18 +0000
commita927175f9c36ef6ef678caa065493f9b5dfcfad2 (patch)
tree98793d6bebce109fb40126f0b05ab189819ce2bc /print/hpijs
parentReduce patch. (diff)
PERL -> REINPLACE_CMD
PR: 39706 39708 39709 39710 Submitted by: Scott Flatman <sf@dsinw.com>
Notes
Notes: svn path=/head/; revision=62122
Diffstat (limited to 'print/hpijs')
-rw-r--r--print/hpijs/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile
index 9083990d7708..37acda593b4d 100644
--- a/print/hpijs/Makefile
+++ b/print/hpijs/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs
IJS_CONFIG?= ${LOCALBASE}/bin/ijs-config
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -25,14 +26,14 @@ CPPFLAGS= `${IJS_CONFIG} --cflags`
LDFLAGS= `${IJS_CONFIG} --libs`
post-patch:
- @${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
+ @${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
${WRKSRC}/configure
- @${PERL} -pi -e 's| ijs.[cho]||g ; \
+ @${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \
s| ijs_client.h||g ; \
s| ijs_server.[cho]||g ; \
s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
- @${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
+ @${REINPLACE_CMD} -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin