Eww. Cull etc/tmp in favor of var/tmp (even though this is not what

hier(7) specifically states, it's still better than screwing around with
stuff outside of ${PREFIX}).

PR:		25672
Submitted by:	Dan Langille <dan@langille.org>
This commit is contained in:
Will Andrews 2001-03-11 03:14:12 +00:00
parent cdee5fcaec
commit 11e2b03ccb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39530
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,10 @@ MAINTAINER= ports@freebsddiary.org
PKGMESSAGE= ${WRKDIR}/MESSAGE
pre-configure:
${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g" ${WRKSRC}/Makefile ${WRKSRC}/systems/freebsd/logcheck.sh
${PERL} -pi -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile
post-build:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}

View File

@ -4,4 +4,6 @@ etc/logcheck.ignore.sample
etc/logcheck.sh
etc/logcheck.violations.ignore.sample
etc/logcheck.violations.sample
@dirrm var/tmp
@dirrm var
@dirrm etc/tmp