summaryrefslogtreecommitdiff
path: root/graphics/dc3play/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dc3play/Makefile')
-rw-r--r--graphics/dc3play/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/dc3play/Makefile b/graphics/dc3play/Makefile
index 0b27002ce97b..45d787e2d84d 100644
--- a/graphics/dc3play/Makefile
+++ b/graphics/dc3play/Makefile
@@ -18,11 +18,12 @@ RESTRICTED= "Beta test period, redistribution prohibited"
WRKSRC= ${WRKDIR}/${PORTNAME}/build
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPTFLAG=""
post-patch:
- @${PERL} -pi -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
+ @${REINPLACE_CMD} -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
post-install:
.if !defined(NOPORTDOCS)