summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn>2010-02-06 20:03:01 +0000
committertnn <tnn>2010-02-06 20:03:01 +0000
commitfd4a7bd99a53ac3af155c0bae4ec13ce81a54990 (patch)
treed3b97c6b9e8b72b558ebdaa6dc79469b0b41e79a /x11
parentfb1c8c832f5cfa37b17bfa0a86e71dffe429b7a2 (diff)
downloadpkgsrc-fd4a7bd99a53ac3af155c0bae4ec13ce81a54990.tar.gz
- make sure the authdir exists, reported on tech-pkg@ by Dennis den Brok.
- don't include compiler.mk twice - bump PKGREVISION
Diffstat (limited to 'x11')
-rw-r--r--x11/xdm/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index 013022d0e0f..cb278800d27 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2010/01/28 15:14:33 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/06 20:03:01 tnn Exp $
DISTNAME= xdm-1.1.9
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.bz2
@@ -23,12 +24,21 @@ USE_LIBTOOL= yes
RCD_SCRIPTS= xdm
+BUILD_DEFS+= VARBASE
+CONFIGURE_ARGS+= --with-authdir=${VARBASE}/lib/xdm
+OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-[3-4]*)
CFLAGS+= -fno-strict-aliasing
.endif
+.if empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
+.endif
+
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-random-device=/dev/urandom
.endif
@@ -51,11 +61,6 @@ CONFIGURE_ARGS+= --with-random-device=/dev/urandom
CONFIGURE_ARGS+= --with-default-vt=vt05
.endif
-.include "../../mk/compiler.mk"
-.if empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
-
.include "options.mk"
.include "../../x11/libXaw/buildlink3.mk"