aboutsummaryrefslogtreecommitdiff
path: root/german/unix-connect/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2014-10-28 21:37:02 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2014-10-28 21:37:02 +0000
commitd386f79db21f030853ce287d5499762f092b8d06 (patch)
tree16e32a8da5a57f9d38bc106db2b086703309751c /german/unix-connect/Makefile
parentbc7f065fda82618e6965af4f72a1ac91cc8dd358 (diff)
downloadports-d386f79db21f030853ce287d5499762f092b8d06.tar.gz
ports-d386f79db21f030853ce287d5499762f092b8d06.zip
Notes
Diffstat (limited to 'german/unix-connect/Makefile')
-rw-r--r--german/unix-connect/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/german/unix-connect/Makefile b/german/unix-connect/Makefile
index 8c8c501da5c1..ad82e50501cb 100644
--- a/german/unix-connect/Makefile
+++ b/german/unix-connect/Makefile
@@ -20,8 +20,13 @@ NEED_ROOT= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
+.if !defined(INSTALL_AS_USER)
CONFIGURE_ARGS+=--with-user=news
CONFIGURE_ARGS+=--with-group=dialer
+.else
+CONFIGURE_ARGS+=--with-user=`id -u -n`
+CONFIGURE_ARGS+=--with-group=`id -g -n`
+.endif
CONFIGURE_ARGS+=--with-execdir=${PREFIX}/libexec/uconnect
CONFIGURE_ARGS+=--with-confdir=${PREFIX}/etc/uconnect
CONFIGURE_ARGS+=--with-spooldir=/var/spool/uconnect