aboutsummaryrefslogtreecommitdiff
path: root/news/nn
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-01 21:23:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-01 21:23:38 +0000
commit5e42dc3ba95d3d9ab5982b551476542cba080382 (patch)
treefe055838b77d9c6cc12c5eadc3a2dc2bdb6bd126 /news/nn
parent5986dcb24ad942f7640d3b3787e496c5f1452e41 (diff)
downloadports-5e42dc3ba95d3d9ab5982b551476542cba080382.tar.gz
ports-5e42dc3ba95d3d9ab5982b551476542cba080382.zip
Notes
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/Makefile6
-rw-r--r--news/nn/files/patch-ag15
2 files changed, 9 insertions, 12 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 69a5d8e4ee66..5871dc14bbe9 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= jooji@nickelkid.com
COMMENT= Newsreader
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS} -s"
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" LDFLAGS="${LDFLAGS} -s"
MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \
nntidy.1 nnview.1 nnacct.1m nnadmin.1m nnstats.1m nnusage.1m
@@ -23,10 +23,6 @@ MAN8= nnmaster.8 nnspew.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not build on FreeBSD >= 5.x"
-.endif
-
pre-patch:
@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed
diff --git a/news/nn/files/patch-ag b/news/nn/files/patch-ag
index 79735ead2cf6..4580e581a65f 100644
--- a/news/nn/files/patch-ag
+++ b/news/nn/files/patch-ag
@@ -1,14 +1,15 @@
--- Makefile.orig Thu Feb 7 22:14:41 2002
-+++ Makefile Wed Apr 28 17:47:59 2004
-@@ -63,6 +64,7 @@
- -e 's/^ / /' \
++++ Makefile Mon Nov 29 23:15:59 2004
+@@ -60,7 +60,7 @@
+ -DCDEBUG="$(CFLAGS)" -Iconf MF.c | \
+ sed -e '1,/MAKE WILL CUT HERE/d' \
+ -e '/^#/d' \
+- -e 's/^ / /' \
++ -e 's/^ / /' \
-e '/^[ \f ]$$/d' \
-e '/^[ \/]*[*]/d' | \
-+ unexpand | \
sed -n -e '/^..*$$/p' > ymakefile
- rm -f MF.c
-
-@@ -97,3 +99,5 @@
+@@ -97,3 +97,5 @@
man/nn.1.D: man/nn.1
sh SPLITNN1