summaryrefslogtreecommitdiff
path: root/devel/distcc
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2006-02-17 07:30:13 +0000
committermartti <martti@pkgsrc.org>2006-02-17 07:30:13 +0000
commit9e29b3b8c9a4312441cb16cd85a19101a901b621 (patch)
treeab9a1298cdf5fdfc471461813444f90c671d6cfa /devel/distcc
parent05d58c859d644e2a20418f71be6f363ccbd42750 (diff)
downloadpkgsrc-9e29b3b8c9a4312441cb16cd85a19101a901b621.tar.gz
Fixed warnings found by pkglint -Wall.
Diffstat (limited to 'devel/distcc')
-rw-r--r--devel/distcc/Makefile10
-rw-r--r--devel/distcc/Makefile.common4
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 4ab61c4c35b..1d02816b0ce 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/02/05 23:08:41 joerg Exp $
+# $NetBSD: Makefile,v 1.28 2006/02/17 07:38:45 martti Exp $
PKGNAME= ${DISTNAME}
PKGREVISION= 2
@@ -9,19 +9,21 @@ COMMENT= Tool for distributed C/C++ compiling
PKG_SYSCONFSUBDIR= distcc
RCD_SCRIPTS= distccd
+.include "../../mk/bsd.prefs.mk"
+
DISTCC_USER?= distcc
DISTCC_GROUP?= distcc
PKG_GROUPS= ${DISTCC_GROUP}
-PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}::Distccd\ user
+PKG_USERS= ${DISTCC_USER:Q}:${DISTCC_GROUP:Q}::Distccd\ user
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
-OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
+OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER:Q} ${DISTCC_GROUP:Q} 0750
FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR:Q}
FILES_SUBST+= DISTCC_USER=${DISTCC_USER:Q}
FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP:Q}
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/distcc
+ ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/distcc
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/distcc/Makefile.common b/devel/distcc/Makefile.common
index 3c55ff9486c..60db30eb1df 100644
--- a/devel/distcc/Makefile.common
+++ b/devel/distcc/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2005/12/29 06:21:37 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2006/02/17 07:38:45 martti Exp $
#
### XXX: See the other 'XXX' comment below when updating this package.
@@ -25,7 +25,7 @@ SUBST_CLASSES+= doc
SUBST_STAGE.doc= post-patch
SUBST_FILES.doc= src/distcc.c src/hosts.c
SUBST_SED.doc= -e "s|%s/distcc/hosts|%s/hosts|g"
-SUBST_MESSAGE.doc= "Fixing paths."
+SUBST_MESSAGE.doc= Fixing paths.
.if empty(PKGNAME:Mdistcc-[0-9]*)
### XXX: Remove 'nb1' from the line below during the next update.