summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-06-15 18:23:49 +0000
committerjlam <jlam@pkgsrc.org>2007-06-15 18:23:49 +0000
commit6f0f1a6a90a025e0397902e3ab628608ae1716c3 (patch)
tree6792791dfae8184b6d1984c2c52254a74709246e /comms
parent91857a842067a746660ca4c1400ca34d19a969db (diff)
downloadpkgsrc-6f0f1a6a90a025e0397902e3ab628608ae1716c3.tar.gz
Don't hardcode "uucp" user... use ${UUCP_USER} instead to match the
net/uucp package.
Diffstat (limited to 'comms')
-rw-r--r--comms/minicom/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index eff9d048621..ed5cef2a8fc 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2007/06/15 18:15:06 jlam Exp $
+# $NetBSD: Makefile,v 1.54 2007/06/15 18:23:49 jlam Exp $
DISTNAME= minicom-2.1
PKGREVISION= 2
@@ -23,12 +23,14 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR= minicom
EGDIR= ${PREFIX}/share/examples/minicom
+UUCP_USER?= uucp # shared with net/uucp
+
PKG_GROUPS= dialer
-PKG_USERS= uucp:dialer
-SPECIAL_PERMS= ${PREFIX}/bin/minicom uucp dialer 4555
-OWN_DIRS_PERMS= ${PKG_SYSCONFDIR} uucp dialer 0755
+PKG_USERS= ${UUCP_USER}:dialer
+SPECIAL_PERMS= ${PREFIX}/bin/minicom ${UUCP_USER} dialer 4555
+OWN_DIRS_PERMS= ${PKG_SYSCONFDIR} ${UUCP_USER} dialer 0755
CONF_FILES_PERMS= ${EGDIR}/minicom.users ${PKG_SYSCONFDIR}/minicom.users \
- uucp dialer 0644
+ ${UUCP_USER} dialer 0644
SUBST_CLASSES+= minicom
SUBST_MESSAGE.minicom= Fixing hardcoded paths.