aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:14:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:14:16 +0000
commit0df5b5676900f6f7637b360f90f947160da2862e (patch)
treeef60009202c3f3b28a3814118bb7072de07c701e /cad/qcad
parentf77d34c594717ba6e809983484a8a35999185e3a (diff)
downloadports-0df5b5676900f6f7637b360f90f947160da2862e.tar.gz
ports-0df5b5676900f6f7637b360f90f947160da2862e.zip
Notes
Diffstat (limited to 'cad/qcad')
-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