From 3429beb3d69bf05cc09137cac5b420f8e26b86db Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sun, 23 Jun 2002 20:39:23 +0000 Subject: PERL -> REINPLACE_CMD PR: ports/39729, ports/39727, ports/39726, ports/39724 PR: ports/39722, ports/39721, ports/39720, ports/39719, ports/39718 Submitted by: Scott Flatman --- security/hashish/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'security/hashish') diff --git a/security/hashish/Makefile b/security/hashish/Makefile index 5369a5792c3c..fc876299180d 100644 --- a/security/hashish/Makefile +++ b/security/hashish/Makefile @@ -19,14 +19,15 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp LIB_DEPENDS= wx_gtk:${PORTSDIR}/x11-toolkits/wxgtk-devel +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/Hashish CFLAGS+= -I${LOCALBASE}/include USE_GMAKE= yes post-patch: - @${PERL} -pi -e "s,^CXXFLAGS =,CXXFLAGS+=,g ; \ + @${REINPLACE_CMD} -e "s,^CXXFLAGS =,CXXFLAGS+=,g ; \ s,^LBLIBS =,LBLIBS = -L${LOCALBASE}/lib,g" ${WRKSRC}/Makefile - @${PERL} -pi -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp + @${REINPLACE_CMD} -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hashish ${PREFIX}/bin -- cgit v1.2.3