svn commit: r388041 - head/mail/qmail
Baptiste Daroussin
bapt at FreeBSD.org
Sat May 30 23:12:49 UTC 2015
Author: bapt
Date: Sat May 30 23:12:48 2015
New Revision: 388041
URL: https://svnweb.freebsd.org/changeset/ports/388041
Log:
Switch from NEED_ROOT to USES=fakeroot
Modified:
head/mail/qmail/Makefile
Modified: head/mail/qmail/Makefile
==============================================================================
--- head/mail/qmail/Makefile Sat May 30 23:12:14 2015 (r388040)
+++ head/mail/qmail/Makefile Sat May 30 23:12:48 2015 (r388041)
@@ -18,7 +18,7 @@ DIST_SUBDIR= qmail
CONFLICTS?= qmail-ldap-[0-9]* *qmail-mysql-[0-9]* qmail-spamcontrol-[0-9]* *qmail-tls-[0-9]*
CONFLICTS+= qmail-vida-[0-9]*
-USES= qmail:vars
+USES= qmail:vars fakeroot
PREFIX?= ${QMAIL_PREFIX}
PLIST_SUB+= QMAIL_PREFIX="${PREFIX}"
@@ -26,10 +26,6 @@ MAKE_JOBS_UNSAFE= yes
PORTSCOUT= skipv:1.04
-# Need root for build for now due to all of the users/dirs/chmod. Can cleanup
-# once pkg_install is EOL.
-NEED_ROOT= yes
-
USERS= alias
.for usersuffix in d l p q r s
USERS+= qmail${usersuffix}
@@ -838,7 +834,7 @@ do-install:
fi
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/configure
- @cd ${WRKSRC} ; ./install
+ @cd ${WRKSRC} ; ${FAKEROOT} ./install
.for f in ${CONFIGUREPROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/configure
.endfor
More information about the svn-ports-head
mailing list