aboutsummaryrefslogtreecommitdiff
path: root/graphics/flip
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/flip')
-rw-r--r--graphics/flip/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/flip/Makefile b/graphics/flip/Makefile
index e87c3356059a..e60ced41bedc 100644
--- a/graphics/flip/Makefile
+++ b/graphics/flip/Makefile
@@ -17,17 +17,18 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= mpeg_encode:${PORTSDIR}/graphics/mpeg_encode
USE_QT_VER= 2
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:R}
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}"
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
s,^CFLAGS,#CFLAGS,g ; s,^CXXFLAGS,#CXXFLAGS,g ; \
s,^MOC,#MOC,g ; s,lqt,lqt2,g ; \
s,/usr/X11R6,${X11BASE},g ; \
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
- @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
+ @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin