diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2011-07-09 16:25:35 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2011-07-09 16:25:35 +0000 |
commit | a239139bf2976c06289bd0f7792f21c062cd8cf6 (patch) | |
tree | 1103802961148d4c1c47d076bdaf51d3a563bd21 /devel/gmake/Makefile | |
parent | 66b3354f001c704957efdf97db0637c7a24cd4d6 (diff) | |
download | pkgsrc-a239139bf2976c06289bd0f7792f21c062cd8cf6.tar.gz |
Do not use strndup on MirBSD, it used to be broken. Fixes lots of
"mysterious" build failures on MirBSD.
Reviewed by agc and joerg.
Diffstat (limited to 'devel/gmake/Makefile')
-rw-r--r-- | devel/gmake/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 5cefc25aba5..472e6ac9b98 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.77 2011/04/22 13:43:19 obache Exp $ +# $NetBSD: Makefile,v 1.78 2011/07/09 16:25:35 bsiegert Exp $ DISTNAME= make-3.82 PKGNAME= g${DISTNAME} @@ -53,6 +53,11 @@ 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: ${CHMOD} g-s ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make |