aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-08-21 22:25:33 +0800
committergarga <garga@FreeBSD.org>2008-08-21 22:25:33 +0800
commit1f8b704903a257d805f138f0da93ee0045dcb6cc (patch)
tree5a76b6d3ec34fa3048d236c156391c23914311a4 /security
parentadbe1d268521aaefdca3dd2d5570b1d545a5db89 (diff)
downloadfreebsd-ports-gnome-1f8b704903a257d805f138f0da93ee0045dcb6cc.tar.gz
freebsd-ports-gnome-1f8b704903a257d805f138f0da93ee0045dcb6cc.tar.zst
freebsd-ports-gnome-1f8b704903a257d805f138f0da93ee0045dcb6cc.zip
- Change pre-install: target to pre-su-install: since user and group are
created there (via pkg-install), and it must be done as root. - While i'm here, fix the same on clamav-devel port PR: ports/126701 Submitted by: grog
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index dd64a56fe2b6..0c9157547981 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -168,7 +168,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
${WRKSRC}/libclamunrar/unrar.c
-pre-install:
+pre-su-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 2936fe569870..5c2d6d7d596b 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -167,7 +167,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
${WRKSRC}/libclamunrar/unrar.c
-pre-install:
+pre-su-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install: