diff options
author | pav <pav@FreeBSD.org> | 2004-12-01 21:23:38 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-01 21:23:38 +0000 |
commit | 332b2de5f668987ddea4cb2fe6c5abd921efd66d (patch) | |
tree | 54819167ef6e27938384fc74a1b67bbd2b18cfe5 /news | |
parent | 51f8643e0e44eca04b204680f00c3739a90a272f (diff) | |
download | FreeBSD-ports-332b2de5f668987ddea4cb2fe6c5abd921efd66d.zip FreeBSD-ports-332b2de5f668987ddea4cb2fe6c5abd921efd66d.tar.gz |
- Fix build on 5.3
PR: ports/74547
Submitted by: Sean Farley <sean-freebsd@farley.org>
Diffstat (limited to 'news')
-rw-r--r-- | news/nn/Makefile | 6 | ||||
-rw-r--r-- | news/nn/files/patch-ag | 15 |
2 files changed, 9 insertions, 12 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index 69a5d8e..5871dc1 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 79735ea..4580e58 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 |