Pullup ticket #3469 - requested by bsiegert devel/gmake: portability fix Revisions pulled up: - devel/gmake/Makefile 1.78 --- Module Name: pkgsrc Committed By: bsiegert Date: Sat Jul 9 16:25:35 UTC 2011 Modified Files: pkgsrc/devel/gmake: Makefile Log Message: Do not use strndup on MirBSD, it used to be broken. Fixes lots of "mysterious" build failures on MirBSD. Reviewed by agc and joerg.diff -r1.77 -r1.77.2.1 pkgsrc/devel/gmake/Makefile
(tron)
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2011/04/22 13:43:19 obache Exp $
+# $NetBSD: Makefile,v 1.77.2.1 2011/07/11 07:47:02 tron Exp $
DISTNAME= make-3.82
PKGNAME= g${DISTNAME}
@@ -51,6 +51,11 @@
.else
CONFIGURE_ARGS+= --without-libintl
CONFIGURE_ARGS+= --without-libiconv
+.endif
+
+.if ${OPSYS} == "MirBSD"
+# workaround for broken strndup
+CONFIGURE_ARGS+= ac_cv_func_strndup=no
.endif
post-install: