aboutsummaryrefslogtreecommitdiff
path: root/sysutils/logrotate
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-13 20:28:33 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-13 20:28:33 +0000
commitb674230dced2db64347ac04e414d37759a509b2e (patch)
tree7edd80b8c6b84a5cf0928e650df6e39781c6830f /sysutils/logrotate
parent0901d47d005e2fb6c9076f78103995e86f11e7bc (diff)
downloadports-b674230dced2db64347ac04e414d37759a509b2e.tar.gz
ports-b674230dced2db64347ac04e414d37759a509b2e.zip
Notes
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r--sysutils/logrotate/Makefile2
-rw-r--r--sysutils/logrotate/files/patch-ab8
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile
index 7b78125a78cf..b17c5c103a3a 100644
--- a/sysutils/logrotate/Makefile
+++ b/sysutils/logrotate/Makefile
@@ -25,7 +25,7 @@ do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
- @tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
+ @${TAR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
post-install:
@${MKDIR} ${PREFIX}/etc/logrotate.d
diff --git a/sysutils/logrotate/files/patch-ab b/sysutils/logrotate/files/patch-ab
index ce6b777e5dde..cfe962fa720e 100644
--- a/sysutils/logrotate/files/patch-ab
+++ b/sysutils/logrotate/files/patch-ab
@@ -11,8 +11,8 @@
MAN = logrotate.8
LOADLIBES = -lpopt
-+LOADLIBES += -L/usr/local/lib
-+CFLAGS += -I/usr/local/include
++LOADLIBES += -L${LOCALBASE}/lib
++CFLAGS += -I${LOCALBASE}/include
#--------------------------------------------------------------------------
OBJS = logrotate.o log.o config.o basenames.o
@@ -22,8 +22,8 @@
- install -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
- install -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
-+ install -c -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
-+ install -c -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
++ ${BSD_INSTALL_PROGRAM} $(PROG) $(PREFIX)/$(BINDIR)
++ ${BSD_INSTALL_MAN} $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
co:
co RCS/*,v