summaryrefslogtreecommitdiff
path: root/www/retawq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/retawq/Makefile')
-rw-r--r--www/retawq/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/retawq/Makefile b/www/retawq/Makefile
index 954264fc1092..be739c69271e 100644
--- a/www/retawq/Makefile
+++ b/www/retawq/Makefile
@@ -19,12 +19,13 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
+USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= # empty
post-patch:
- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,%%LOCALBASE%%,${LOCALBASE},g ; \
s,%%PREFIX%%,${PREFIX},g ; \
s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile