aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qcad/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-08 18:14:16 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-08 18:14:16 +0800
commitb89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb (patch)
tree944722e22fe248c0e73aac0fcbd5b7bc1d324dd7 /cad/qcad/Makefile
parent846a435437fbc9a912aabcf54dc03a7e6aaf9f8b (diff)
downloadfreebsd-ports-gnome-b89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb.tar.gz
freebsd-ports-gnome-b89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb.tar.zst
freebsd-ports-gnome-b89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb.zip
PERL -> REINPLACE_CMD
PR: 39273 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'cad/qcad/Makefile')
-rw-r--r--cad/qcad/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index ddc37ce1a44d..9f8630db5c81 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -15,6 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
USE_QT_VER= 2
+USE_REINPLACE= yes
MAKE_ENV= MOC="${MOC}" LIBQT="-l${QTNAME}" \
QTCPPFLAGS="${QTCPPFLAGS}" QTCFGLIBS="${QTCFGLIBS}"
@@ -25,7 +26,7 @@ CFLAGS+= -O0
.endif
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcad ${PREFIX}/bin