aboutsummaryrefslogtreecommitdiff
path: root/graphics/gdchart
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gdchart')
-rw-r--r--graphics/gdchart/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 5d5173c6e386..c9c5712549c4 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -17,11 +17,12 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+USE_REINPLACE= yes
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/${DISTNAME}
post-patch:
- ${PERL} -i -pe 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' ${WRKSRC}/*.[ch]
+ ${REINPLACE_CMD} -e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' ${WRKSRC}/*.[ch]
do-install:
${INSTALL_DATA} ${WRKSRC}/libgdchart.a ${PREFIX}/lib