summaryrefslogtreecommitdiff
path: root/games/qgo
diff options
context:
space:
mode:
Diffstat (limited to 'games/qgo')
-rw-r--r--games/qgo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index 5694a89e3b3b..22caa681e895 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_QT_VER= 2
GNU_CONFIGURE= yes
QTCPPFLAGS+= -DDONT_USE_GETOPT
@@ -21,8 +22,8 @@ CONFIGURE_ENV= QTDIR=${X11BASE}
USE_GMAKE= yes
post-patch:
- @${PERL} -pi -e "s,qt.so,qt2.so,g ; \
+ @${REINPLACE_CMD} -e "s,qt.so,qt2.so,g ; \
s,/moc,/moc2,g" ${WRKSRC}/configure
- @${PERL} -pi -e "s,-lqt,-lqt2,g" ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e "s,-lqt,-lqt2,g" ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>