pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42926 (m4 doesn't build because an include error)

Upstream lib/fflush.c now already contains DragonFly specific code,
and m4 compiles and builds just fine without the DFLY-specific
fflush.c.  Also it passes the same tests with and without the patch.

So maybe we could just remove the DFLY-specific fflush like this:

diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 774cd20..d51e533 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -35,11 +35,6 @@ PLIST.gm4=           yes
-.if ${OPSYS} == "DragonFly"
-       ${CP} ${FILESDIR}/bsd-fflush.c ${WRKSRC}/lib/fflush.c
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/m4
        ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 

Home | Main Index | Thread Index | Old Index