mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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:
parent
cdee5fcaec
commit
11e2b03ccb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39530
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user