aboutsummaryrefslogtreecommitdiff
path: root/graphics/ecg2png
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch)
tree1642e533cdc6183365ccba20544974f74946044a /graphics/ecg2png
parent4e50fe70614b6cbe88ee0c6606cd7336356c42d0 (diff)
downloadports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.tar.gz
ports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.zip
Notes
Diffstat (limited to 'graphics/ecg2png')
-rw-r--r--graphics/ecg2png/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/ecg2png/Makefile b/graphics/ecg2png/Makefile
index bfc7773cb5a6..c58e48080a24 100644
--- a/graphics/ecg2png/Makefile
+++ b/graphics/ecg2png/Makefile
@@ -17,14 +17,15 @@ LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
USE_QT_VER= 2
USE_GMAKE= yes
GNU_CONFIGURE= yes
QTCPPFLAGS+= -I${LOCALBASE}/include/gd
pre-patch:
- @${PERL} -pi -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
- @find ${WRKSRC} -name '*.cpp' | xargs ${PERL} -pi -e \
+ @${REINPLACE_CMD} -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
+ @find ${WRKSRC} -name '*.cpp' | xargs ${REINPLACE_CMD} -e \
's|#include <qimageio.h>||g'
@${CHMOD} ${BINMODE} ${WRKSRC}/missing