diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-25 18:36:39 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-25 18:36:39 +0000 |
commit | c2e96a6fd15ffeb729ad724a29f33c91d1eafc84 (patch) | |
tree | 5163ba03df5b625ecccf34756ce8597ed008cfd5 /devel/dia2code | |
parent | 82098a30f3f2c8a57f6f5d88e7c5b0f4898eed3c (diff) |
Notes
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 |