diff options
author | gdt <gdt@pkgsrc.org> | 2016-02-23 15:24:50 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2016-02-23 15:24:50 +0000 |
commit | e9a0cb1c57f174123e990818dace744d32dd3e9a (patch) | |
tree | 5ca92d141d87f1b531a390a5437124e6bd4b6c7f | |
parent | e280ebfa474e0937534ff710ffd6d5568c95ef35 (diff) | |
download | pkgsrc-e9a0cb1c57f174123e990818dace744d32dd3e9a.tar.gz |
Use PREFIX-relative paths in INSTALLATION_DIRS
While the INSTALLATION_DIRS code actually works fine with directories
that contain PREFIX (by removing it first), the documentation says
that values should be PREFIX-relative.
Pointed out by Petar Bogdanovic ($MAINTAINER).
-rw-r--r-- | mail/dcc/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/dcc/Makefile b/mail/dcc/Makefile index 734db184879..d4573a322dd 100644 --- a/mail/dcc/Makefile +++ b/mail/dcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2016/02/23 00:59:40 gdt Exp $ +# $NetBSD: Makefile,v 1.11 2016/02/23 15:24:50 gdt Exp $ DISTNAME= dcc-1.3.158 PKGREVISION= 1 @@ -83,8 +83,8 @@ BUILD_DEFS+= VARBASE INSTALLATION_DIRS+= bin INSTALLATION_DIRS+= libexec INSTALLATION_DIRS+= ${PKGMANDIR}/man8 -INSTALLATION_DIRS+= ${DCC_EGDIR} -INSTALLATION_DIRS+= ${DCC_EGDIR}/cgi-bin +INSTALLATION_DIRS+= ${DCC_EGDIR_REL} +INSTALLATION_DIRS+= ${DCC_EGDIR_REL}/cgi-bin PKG_GROUPS= ${DCC_GROUP} PKG_USERS= ${DCC_USER}:${DCC_GROUP} @@ -92,7 +92,8 @@ PKG_USERS= ${DCC_USER}:${DCC_GROUP} OWN_DIRS_PERMS+= ${DCC_HOME} ${DCC_USER} ${DCC_GROUP} 0755 OWN_DIRS_PERMS+= ${DCC_HOME}/log ${DCC_USER} ${DCC_GROUP} 0710 -DCC_EGDIR= ${PREFIX}/share/examples/dcc +DCC_EGDIR_REL= share/examples/dcc +DCC_EGDIR= ${PREFIX}/${DCC_EGDIR_REL} DCC_PERMS_CONFIG= ${DCC_USER} ${DCC_GROUP} 0600 CONF_FILES_PERMS+= ${DCC_EGDIR}/dcc_conf ${DCC_HOME}/dcc_conf ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/flod ${DCC_HOME}/flod ${DCC_PERMS_CONFIG} |