summaryrefslogtreecommitdiff
path: root/graphics/opendis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opendis/Makefile')
-rw-r--r--graphics/opendis/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/opendis/Makefile b/graphics/opendis/Makefile
index 6d3251ef6c6b..b8a0310d6163 100644
--- a/graphics/opendis/Makefile
+++ b/graphics/opendis/Makefile
@@ -15,11 +15,12 @@ MASTER_SITE_SUBDIR= ods
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e 's|-pedantic -W|-pedantic|g' ${WRKSRC}/configure
- @${PERL} -pi -e 's| -g| \@CFLAGS\@|g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|-pedantic -W|-pedantic|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's| -g| @CFLAGS@|g' ${WRKSRC}/src/Makefile.in
post-install:
.if !defined(NOPORTDOCS)