summaryrefslogtreecommitdiff
path: root/news/nn
diff options
context:
space:
mode:
authordholland <dholland>2012-04-07 20:06:15 +0000
committerdholland <dholland>2012-04-07 20:06:15 +0000
commit4c77dac3b8f64eab165b656269ae5380aa7bbc27 (patch)
tree7e915a71dd6879b1ba53cd87ffba39007172147d /news/nn
parentd8e1852c0eabf040b73f42029bd45fb0243cb59e (diff)
downloadpkgsrc-4c77dac3b8f64eab165b656269ae5380aa7bbc27.tar.gz
Use cpp -traditional whenever the compiler is gcc, not just on Dragonfly.
This is only required for gcc 4.4 (I think) and up where otherwise cpp doesn't preserve whitespace, but it should be harmless for all gcc versions ranging back to the prehistorical. Fixes problems caused by running cpp on makefiles.
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 1ecd758ca02..8d60ec15c07 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2012/04/07 11:47:19 obache Exp $
+# $NetBSD: Makefile,v 1.39 2012/04/07 20:06:15 dholland Exp $
DISTNAME= nn-6.7.3
CATEGORIES= news
@@ -31,7 +31,7 @@ MFILE= m-mipsel.h
MFILE= m-${LOWER_ARCH}.h
.endif
-.if ${OPSYS} == "DragonFly"
+.if ${OPSYS} == "DragonFly" || !empty(CC_VERSION:Mgcc)
CPP+= -traditional
.endif