summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-04-07 20:06:15 +0000
committerdholland <dholland@pkgsrc.org>2012-04-07 20:06:15 +0000
commit6003b54d1c94e44338c535a5aa33bd2d833ac496 (patch)
tree7e915a71dd6879b1ba53cd87ffba39007172147d /news
parent3e4be965a4a5655f5f5d07c8b5db08209e584c17 (diff)
downloadpkgsrc-6003b54d1c94e44338c535a5aa33bd2d833ac496.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')
-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