diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-13 16:54:13 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-13 16:54:13 +0000 |
commit | e575be2db5bcd66b217b9d7fe4a5d6a6705ba058 (patch) | |
tree | 6329127f18172f303f69cb3807586a14014e0d5e /devel/gindent | |
parent | c56326dc8301b884956f4e4f5d59be63c95940fd (diff) | |
download | ports-e575be2db5bcd66b217b9d7fe4a5d6a6705ba058.tar.gz ports-e575be2db5bcd66b217b9d7fe4a5d6a6705ba058.zip |
Notes
Diffstat (limited to 'devel/gindent')
-rw-r--r-- | devel/gindent/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile index 6439766c0f63..12199e68fe88 100644 --- a/devel/gindent/Makefile +++ b/devel/gindent/Makefile @@ -18,6 +18,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -26,4 +27,8 @@ MAKE_ARGS= BERKELEY_DEFAULTS=1 MAN1= gindent.1 +post-patch: + @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \ + ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" + .include <bsd.port.mk> |