summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2014-01-02 08:00:32 +0000
committerdholland <dholland@pkgsrc.org>2014-01-02 08:00:32 +0000
commita5d3636908bc6026d81bd70867407b7ba74f9566 (patch)
treee2c33b196d47efe3a9510a59ba534548d09131fa /news
parent3f44401e57ee9647e18b79436f832348f8b0008e (diff)
downloadpkgsrc-a5d3636908bc6026d81bd70867407b7ba74f9566.tar.gz
Remove Dragonfly hack and use tradcpp for cpp'ing the makefiles.
Should fix Solaris build; the Solaris compiler's cpp is crashing.
Diffstat (limited to 'news')
-rw-r--r--news/nn/Makefile8
-rw-r--r--news/nn/distinfo4
-rw-r--r--news/nn/patches/patch-aa5
3 files changed, 8 insertions, 9 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 2bc856953bb..68e3cd1d2fd 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2013/05/18 11:15:00 mlelstv Exp $
+# $NetBSD: Makefile,v 1.44 2014/01/02 08:00:32 dholland Exp $
DISTNAME= nn-6.7.3
PKGREVISION= 2
@@ -12,6 +12,8 @@ COMMENT= NN newsreader
PKG_SYSCONFSUBDIR= nntp
+TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
@@ -31,10 +33,6 @@ MFILE= m-mipsel.h
MFILE= m-${LOWER_ARCH}.h
.endif
-.if ${OPSYS} == "DragonFly" || !empty(CC_VERSION:Mgcc*)
-CPP+= -traditional
-.endif
-
.if ${OPSYS} == "IRIX"
CPPFLAGS+= -DHAVE_TERMIO_H
.endif
diff --git a/news/nn/distinfo b/news/nn/distinfo
index 11fd78b712b..762edbae1c9 100644
--- a/news/nn/distinfo
+++ b/news/nn/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2011/06/14 13:13:14 wiz Exp $
+$NetBSD: distinfo,v 1.17 2014/01/02 08:00:32 dholland Exp $
SHA1 (nn-6.7.3.tar.Z) = 1879aae59131e4b86e82021802918a0a39cea826
RMD160 (nn-6.7.3.tar.Z) = 2617fe7dce42c36ae970579e27ebd00a60f23653
Size (nn-6.7.3.tar.Z) = 688446 bytes
-SHA1 (patch-aa) = 175941d5d91b822be577409f4d32420209b33d1c
+SHA1 (patch-aa) = f3d5d668f542adcdf26823d5c6d7186e4ac06a70
SHA1 (patch-ab) = 911d5e19c352085a2a9fa715d2dee4a8ebfe7fa9
SHA1 (patch-ac) = 6ad9ebb351c6c5e60add44ad71120dc09c16ea45
SHA1 (patch-ae) = 5d9968a29408cfc753b27cba6fc48076bb849317
diff --git a/news/nn/patches/patch-aa b/news/nn/patches/patch-aa
index 5c2e52d6868..a08c93bd17c 100644
--- a/news/nn/patches/patch-aa
+++ b/news/nn/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.12 2006/10/14 19:33:45 schwarz Exp $
+$NetBSD: patch-aa,v 1.13 2014/01/02 08:00:32 dholland Exp $
--- Makefile.orig 2005-10-26 06:08:03.000000000 +0200
+++ Makefile 2006-10-14 19:35:24.000000000 +0200
-@@ -18,16 +18,16 @@
+@@ -18,16 +18,17 @@
#
# Use /lib/cpp or /usr/ccs/lib/cpp for CPP on Solaris or SVR4 machines.
@@ -13,6 +13,7 @@ $NetBSD: patch-aa,v 1.12 2006/10/14 19:33:45 schwarz Exp $
+#CPP = $(CC) -E
#CPP = /lib/cpp
#CPP = /usr/bin/cpp -no-cpp-precomp # for MacOS X
++CPP = tradcpp
-CFLAGS = -O # -g -Wall -ansi -pedantic
+#CFLAGS = -O # -g -Wall -ansi -pedantic