summaryrefslogtreecommitdiff
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
commit21e71669ab0cda3d07fea4ccc45528a4912bd4dd (patch)
tree6792791dfae8184b6d1984c2c52254a74709246e
parentdfb5dcfe4a9cd654098aaf618733acd10b9910f0 (diff)
downloadpkgsrc-21e71669ab0cda3d07fea4ccc45528a4912bd4dd.tar.gz
Don't hardcode "uucp" user... use ${UUCP_USER} instead to match the
net/uucp package.
-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.