pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2012Q1]: pkgsrc/news/nn Pullup ticket #3712 - requested by dho...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/68b8b231472c
branches:  pkgsrc-2012Q1
changeset: 601998:68b8b231472c
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Sun Apr 08 09:19:15 2012 +0000

description:
Pullup ticket #3712 - requested by dholland
news/nn build fix

Revisions pulled up:
- news/nn/Makefile                                              1.39-1.40

---
   Module Name: pkgsrc
   Committed By:        dholland
   Date:                Sat Apr  7 20:06:15 UTC 2012

   Modified Files:
        pkgsrc/news/nn: Makefile

   Log Message:
   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.

---
   Module Name: pkgsrc
   Committed By:        dholland
   Date:                Sat Apr  7 22:49:54 UTC 2012

   Modified Files:
        pkgsrc/news/nn: Makefile

   Log Message:
   Oops, do previous correctly.

diffstat:

 news/nn/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1e87d370aac0 -r 68b8b231472c news/nn/Makefile
--- a/news/nn/Makefile  Sun Apr 08 09:19:03 2012 +0000
+++ b/news/nn/Makefile  Sun Apr 08 09:19:15 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2012/04/07 11:47:19 obache Exp $
+# $NetBSD: Makefile,v 1.38.2.1 2012/04/08 09:19:15 sbd Exp $
 
 DISTNAME=      nn-6.7.3
 CATEGORIES=    news
@@ -14,6 +14,7 @@
 PKG_SYSCONFSUBDIR=     nntp
 
 .include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
 
 .if ${OPSYS} == "SunOS"
 SFILE=         s-sunos5.h
@@ -31,7 +32,7 @@
 MFILE=         m-${LOWER_ARCH}.h
 .endif
 
-.if ${OPSYS} == "DragonFly"
+.if ${OPSYS} == "DragonFly" || !empty(CC_VERSION:Mgcc*)
 CPP+=          -traditional
 .endif
 



Home | Main Index | Thread Index | Old Index