diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-05 18:13:49 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-05 18:13:49 +0000 |
commit | 07c41ede2be3d4b94531816e3ca1809a5a12ba54 (patch) | |
tree | 9ec42ff38a8481eebe36c54b13149a138af564b5 /news/nntp/files/patch-Makefile | |
parent | Update to 2.1.11. (diff) |
- Fix build on CURRENT
- make fully PREFIX aware
Notes
Notes:
svn path=/head/; revision=71384
Diffstat (limited to 'news/nntp/files/patch-Makefile')
-rw-r--r-- | news/nntp/files/patch-Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/news/nntp/files/patch-Makefile b/news/nntp/files/patch-Makefile index c6bd394338ff..2f4ccb5088be 100644 --- a/news/nntp/files/patch-Makefile +++ b/news/nntp/files/patch-Makefile @@ -1,31 +1,26 @@ --- Makefile.orig Tue Jan 9 08:30:24 1996 -+++ Makefile Sun Jan 9 09:35:59 2000 ++++ Makefile Thu Dec 5 09:59:23 2002 @@ -4,7 +4,7 @@ # The program that knows how to deal with makefiles. [Uncomment if needed.] # MAKE=make # set CFLAGS to be -Ipath/to/special/includes if needed -CFLAGS= -O -+CFLAGS+= -I/usr/local/include ++#CFLAGS= -O #Uncomment the following for Solaris (and similiar SVR4 systems) #NETLIBS = -lsocket -lnsl #Uncomment the following if the previous one does not work -@@ -13,6 +13,7 @@ - #DBLIBS = -ldbz - #DBLIBS = /usr/local/lib/dbz.o #/usr/local/lib/dbzdbm.o - #DBLIBS = -ldbm -+DBLIBS = /usr/local/lib/libcnews.a -lcrypt -lutil - # add the resolver library if needed - #RESLIB = -lresolv - # add the kmem library if needed -@@ -21,9 +21,9 @@ +@@ -20,11 +20,11 @@ #Uncomment the following for Solaris (and similiar SVR4 systems) #KVMLIB = -lelf # Where nntpd is going to live -ETCDIR = /etc -+ETCDIR = /usr/local/sbin ++#ETCDIR = /usr/local/sbin # Where nntpxmit and nntpxfer is going to live -BINDIR = /usr/local/bin -+BINDIR = /usr/local/news/cnewsbin ++#BINDIR = /usr/local/news/cnewsbin # Where manual pages live - MANDIR = /usr/local/man +-MANDIR = /usr/local/man ++#MANDIR = /usr/local/man # + LIBS = $(DBLIBS) $(RESLIB) $(NETLIBS) $(KVMLIB) + SUBMAKEFLAGS="LIBS=${LIBS}" "CFLAGS=${CFLAGS}" "ETCDIR=${ETCDIR}" "BINDIR=${BINDIR}" "MANDIR=${MANDIR}" |