aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gxmlviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gxmlviewer/Makefile')
-rw-r--r--textproc/gxmlviewer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile
index 5e3e85fcacc..b4e6fd4d4f2 100644
--- a/textproc/gxmlviewer/Makefile
+++ b/textproc/gxmlviewer/Makefile
@@ -16,11 +16,12 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>