From 1f8b704903a257d805f138f0da93ee0045dcb6cc Mon Sep 17 00:00:00 2001 From: garga Date: Thu, 21 Aug 2008 14:25:33 +0000 Subject: - 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 --- security/clamav-devel/Makefile | 2 +- security/clamav/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'security') 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: -- cgit