pkgsrc/lang/objc/patches/patch-ab
dholland 2444ad5307 1. Not MAKE_JOBS_SAFE.
2. Use MMFLAGS instead of MFLAGS as the compiler flags make variable.
The latter interacts somewhat poorly with make's own usage of the same
identifier. Do this by SUBST at post-extract time so nothing ever sees
the original form, and adjust patches to match.

Does not build (it cannot parse NetBSD's stdlib.h) but no longer
explodes randomly.
2012-01-03 01:25:28 +00:00

13 lines
337 B
Text

$NetBSD: patch-ab,v 1.2 2012/01/03 01:25:28 dholland Exp $
--- configure.orig 2005-01-14 10:10:45.000000000 +0000
+++ configure
@@ -3367,7 +3367,7 @@ USELFLAG=1;
MMFLAGS=OPT_MMFLAGS;
case $ac_cv_c_compiler_gnu in
- yes) OPT_MMFLAGS='-DNDEBUG -O2';;
+ yes) OPT_MMFLAGS='-DNDEBUG $(CFLAGS)';;
*) OPT_MMFLAGS='-DNDEBUG';;
esac