diff options
author | tnn <tnn@pkgsrc.org> | 2010-02-06 20:03:01 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-02-06 20:03:01 +0000 |
commit | 15bf8b6d1ad556c23b92a34cd46c46cc019473e4 (patch) | |
tree | d3b97c6b9e8b72b558ebdaa6dc79469b0b41e79a /x11/xdm | |
parent | 3cad6556ce77b8281c4f8624bd873d510568f82f (diff) | |
download | pkgsrc-15bf8b6d1ad556c23b92a34cd46c46cc019473e4.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/xdm')
-rw-r--r-- | x11/xdm/Makefile | 17 |
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" |