summaryrefslogtreecommitdiff
path: root/devel/libafterbase/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libafterbase/Makefile')
-rw-r--r--devel/libafterbase/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/libafterbase/Makefile b/devel/libafterbase/Makefile
index 39b831bf245e..6f6a5f07353c 100644
--- a/devel/libafterbase/Makefile
+++ b/devel/libafterbase/Makefile
@@ -15,6 +15,7 @@ DISTNAME= libAfterBase-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -22,7 +23,7 @@ CONFIGURE_ARGS= --enable-sharedlibs --with-x
INSTALLS_SHLIB= yes
post-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>