1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Use ${TOUCH} instead of touch

- Fix pkg-plist to delete directories installed out of PREFIX (on /var) [1]
- Bump PORTREVISION because of [1]

PR:		ports/145448 [1]
Submitted by:	sahil@ [1]
This commit is contained in:
Renato Botelho 2010-04-12 13:04:18 +00:00
parent cd427c3ffb
commit 764208f03f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252591
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= clamav
DISTVERSION= 0.96
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
@ -206,7 +207,7 @@ pre-configure:
${ECHO_MSG} "= It will not be called during this build ="; \
${ECHO_MSG} "==========================================================================="; \
${ECHO_MSG} ""; \
touch ${PY_NO_THREAD}; \
${TOUCH} ${PY_NO_THREAD}; \
fi
.endif

View File

@ -31,6 +31,7 @@ etc/freshclam.conf.default
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf
@unexec [ -s %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true
@unexec [ -s %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true
@cwd /
@dirrmtry %%DBDIR%%
@dirrmtry %%LOGDIR%%
@dirrmtry %%RUNDIR%%