diff options
author | garga <garga@FreeBSD.org> | 2014-05-18 04:26:29 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2014-05-18 04:26:29 +0800 |
commit | 43bdb2bb938c3cf477badf80ded8e0e910f31c64 (patch) | |
tree | bd9e834eff95d6a603ff80f85c304bdf06534a31 /security | |
parent | 3f4f1c1e4537497cc6123ce06959f6f663b7ec11 (diff) | |
download | freebsd-ports-gnome-43bdb2bb938c3cf477badf80ded8e0e910f31c64.tar.gz freebsd-ports-gnome-43bdb2bb938c3cf477badf80ded8e0e910f31c64.tar.zst freebsd-ports-gnome-43bdb2bb938c3cf477badf80ded8e0e910f31c64.zip |
Fix plist with old pkg_ tools
Diffstat (limited to 'security')
-rw-r--r-- | security/clamav/Makefile | 11 | ||||
-rw-r--r-- | security/clamav/pkg-plist | 1 |
2 files changed, 7 insertions, 5 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 331dc85c2076..4281ee61f209 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -3,7 +3,7 @@ PORTNAME= clamav PORTVERSION= 0.98.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= SF @@ -58,11 +58,12 @@ PORTDOCS= * DBDIR= /var/db/clamav LOGDIR= /var/log/clamav RUNDIR= /var/run/clamav -PLIST_SUB+= DBDIR=${DBDIR} \ - LOGDIR=${LOGDIR} \ - RUNDIR=${RUNDIR} \ +PLIST_SUB+= DBDIR=${DBDIR:S/^\///} \ + LOGDIR=${LOGDIR:S/^\///} \ + RUNDIR=${RUNDIR:S/^\///} \ CLAMAVUSER=${CLAMAVUSER} \ - CLAMAVGROUP=${CLAMAVGROUP} + CLAMAVGROUP=${CLAMAVGROUP} \ + RESETPREFIX=${PREFIX} PY_NO_THREAD= ${WRKDIR}/.python-has-no-threads USE_AUTOTOOLS= libltdl OPTIONS_SUB= yes diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index a6095ce40ff9..538955ba31ce 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -45,3 +45,4 @@ man/man8/clamd.8.gz @dirrmtry %%RUNDIR%% @group @owner +@cwd %%RESETPREFIX%% |