Fix up problems due to earlier commit

Reviewed by:	Mike Harding <mvh@ix.netcom.com>
This commit is contained in:
Tom Hukins 2001-07-07 19:42:25 +00:00
parent 65ac9cd50c
commit fd23e4d892
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44891
2 changed files with 5 additions and 5 deletions

View file

@ -21,9 +21,9 @@ PLIST= ${PKGDIR}/pkg-plist.nodocs
.endif
LEAFLIBDIR?= ${PREFIX}/lib/leafnode
SPOOLDIR?= /var/spool/leafnode
LEAFSPOOLDIR?= /var/spool/leafnode
REWRITE= ${SED} -e "s:@LIBDIR@:${LEAFLIBDIR}:g" \
-e "s:@SPOOLDIR@:${SPOOLDIR}:g" \
-e "s:@SPOOLDIR@:${LEAFSPOOLDIR}:g" \
-e "s:@PREFIX@:${PREFIX}:g"
post-patch:

View file

@ -1,5 +1,5 @@
--- Makefile.orig Wed Jun 13 10:53:27 2001
+++ Makefile Sat Jul 7 08:06:32 2001
+++ Makefile Sat Jul 7 11:33:58 2001
@@ -11,19 +11,19 @@
#AR = ar
#RANLIB = ranlib
@ -36,12 +36,12 @@
#
# This is the directory where the news is stored.
-SPOOLDIR = /var/spool/news
+#SPOOLDIR = /var/spool/news
+SPOOLDIR = @SPOOLDIR@
#
# This is the directory where the configuration and group information is
# kept. It should preferably not be on the same partition as spooldir
-LIBDIR = /usr/lib/leafnode
+LIBDIR = LEAFLIBDIR
+LIBDIR = @LIBDIR@
#
# These are about local library.
LIBUTIL = libutil.a