diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-26 02:36:39 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-26 02:36:39 +0800 |
commit | 2e24cb013a4dff5e119d355c91b2622a00311b14 (patch) | |
tree | 7a79ec7a9cea96d93a4faead0a8d2d8c0f3fff6d /devel/dia2code | |
parent | cde2f267c86553ca05e0aa4469ac034e4060371d (diff) | |
download | freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.gz freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.zst freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.zip |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/dia2code')
-rw-r--r-- | devel/dia2code/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile index de001f567b8e..4b368df4eedb 100644 --- a/devel/dia2code/Makefile +++ b/devel/dia2code/Makefile @@ -18,6 +18,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 XML_CONFIG= ${LOCALBASE}/bin/xml2-config +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ @@ -26,7 +27,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= dia2code.1 post-patch: - @${PERL} -pi -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h + @${REINPLACE_CMD} -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h post-install: @${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1 |