summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-04-29 07:48:34 +0000
committersbd <sbd@pkgsrc.org>2012-04-29 07:48:34 +0000
commitee9622f436a635769db44c9aed078b50802d2511 (patch)
tree7dbafc2b5290ca1133429aeb2180f71b20db2831 /x11
parent5c2f6fc56f50194463189c51d06dd94a43d4fb96 (diff)
downloadpkgsrc-ee9622f436a635769db44c9aed078b50802d2511.tar.gz
Use the --with-appdefaultdir configure arg and set both the log and pid
directorys to be under ${VARBASE}.
Diffstat (limited to 'x11')
-rw-r--r--x11/xdm/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index 92fd9310ed3..ada241a3cf6 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/04/17 17:53:13 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2012/04/29 07:48:34 sbd Exp $
DISTNAME= xdm-1.1.11
CATEGORIES= x11
@@ -17,6 +17,7 @@ CONFIGURE_ARGS+= --enable-dynamic-greeter
CONFIGURE_ARGS+= --enable-tcp-transport
CONFIGURE_ARGS+= --enable-unix-transport
CONFIGURE_ARGS+= --enable-xdmshell
+CONFIGURE_ARGS+= --with-appdefaultdir=${PREFIX}/lib/X11/app-defaults
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
@@ -25,6 +26,8 @@ USE_LIBTOOL= yes
RCD_SCRIPTS= xdm
BUILD_DEFS+= VARBASE
+CONFIGURE_ARGS+= --with-logdir=${VARBASE}/log
+CONFIGURE_ARGS+= --with-piddir=${VARBASE}/run
CONFIGURE_ARGS+= --with-authdir=${VARBASE}/lib/xdm
OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
@@ -64,8 +67,6 @@ CONFIGURE_ARGS+= --with-random-device=/dev/urandom
CONFIGURE_ARGS+= --with-default-vt=vt05
.endif
-MAKE_FLAGS+= appdefaultdir=${PREFIX}/lib/X11/app-defaults
-
.include "options.mk"
.include "../../x11/libXaw/buildlink3.mk"