summaryrefslogtreecommitdiff
path: root/graphics/gd1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd1/Makefile')
-rw-r--r--graphics/gd1/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gd1/Makefile b/graphics/gd1/Makefile
index 3f7ba6ad7696..9f2c6e2b5d12 100644
--- a/graphics/gd1/Makefile
+++ b/graphics/gd1/Makefile
@@ -29,6 +29,7 @@ BUILD_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
+USE_REINPLACE= yes
MAKE_ENV= FREETYPE_CONFIG="${FREETYPE_CONFIG}"
INSTALLS_SHLIB= yes
@@ -49,7 +50,7 @@ post-extract:
> ${WRKSRC}/gd_gif_in.c
post-patch:
- @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/gdcache.h
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/gdcache.h
post-install:
.if !defined(NOPORTDOCS)