diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-29 14:36:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-29 14:36:46 +0000 |
commit | 826763b775d3c29ab79325b94ce65f6b21bf0348 (patch) | |
tree | b3626f7bc7f3bb2a8b8f057d4d1fe0adecb97727 /devel/m4/Makefile | |
parent | 011ce190625ebe6cab4d184eba00287ecea115cc (diff) | |
download | pkgsrc-826763b775d3c29ab79325b94ce65f6b21bf0348.tar.gz |
Override gnulib's fflush.c on DragonFly with a far less intrusive
versions. This is still in discussion with upstream, but working m4
is critical, so apply this stop-gap solution. It works on the other
BSD derived stdio implementations as well, if you want to switch.
Diffstat (limited to 'devel/m4/Makefile')
-rw-r--r-- | devel/m4/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile index 04855a46894..33cfa9d0b9c 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2007/07/22 06:34:41 wiz Exp $ +# $NetBSD: Makefile,v 1.51 2007/07/29 14:36:46 joerg Exp $ DISTNAME= m4-1.4.10 PKGREVISION= 1 @@ -32,6 +32,11 @@ PLIST_SUBST+= GM4_LINK="" PLIST_SUBST+= GM4_LINK="@comment " .endif +.if ${OPSYS} == "DragonFly" +post-patch: + ${CP} ${FILESDIR}/bsd-fflush.c ${WRKSRC}/lib/fflush.c +.endif + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/m4 ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${DESTDIR}${PREFIX}/share/examples/m4 |