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
commitb902b199430e0c7ddb3ab3b12806e19c14b533cd (patch)
tree7e915a71dd6879b1ba53cd87ffba39007172147d /news/nn
parent9681386d41bed2282e9c1d081ef69220b254e547 (diff)
downloadpkgsrc-b902b199430e0c7ddb3ab3b12806e19c14b533cd.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