diff options
author | tnn <tnn> | 2009-10-25 12:15:54 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-10-25 12:15:54 +0000 |
commit | 11e1a75dc2e5476fa7c5529388015a0ecff5a3f9 (patch) | |
tree | ee7dc072584d32f9bdb9531e50a11bfb7390f9fa /devel/imake | |
parent | 71788f8d76d7a7298104e0345fcbc9c58e7733dd (diff) | |
download | pkgsrc-11e1a75dc2e5476fa7c5529388015a0ecff5a3f9.tar.gz |
More build fixes for non-GNU cpp(1) which usually doesn't grok -undef.
From Alexander Nasonov in PR pkg/39879.
Diffstat (limited to 'devel/imake')
-rw-r--r-- | devel/imake/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/imake/Makefile b/devel/imake/Makefile index 550e7789509..8c6661ab93e 100644 --- a/devel/imake/Makefile +++ b/devel/imake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/05/24 21:45:20 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2009/10/25 12:15:54 tnn Exp $ # DISTNAME= imake-1.0.2 @@ -22,6 +22,11 @@ CONFIGURE_ENV+= APP_MAN_SUFFIX=1 REPLACE_PERL+= mkhtmlindex.pl +.include "../../mk/compiler.mk" +.if empty(PKGSRC_COMPILER:Mgcc) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "../../x11/xproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |