diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
commit | 97f4078fc66b31385abf80fccbd0ad2c025fe60f (patch) | |
tree | ba40492c0d12e5e3607803f3192c1d24923347ba /x11/xdm | |
parent | ff2ff9e81927ce4912893dae7f00cc43823bb857 (diff) | |
download | pkgsrc-97f4078fc66b31385abf80fccbd0ad2c025fe60f.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'x11/xdm')
-rw-r--r-- | x11/xdm/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile index 2d26bc616ab..cde8793875e 100644 --- a/x11/xdm/Makefile +++ b/x11/xdm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2015/04/22 19:49:09 tnn Exp $ +# $NetBSD: Makefile,v 1.30 2016/02/26 11:27:17 jperkin Exp $ DISTNAME= xdm-1.1.11 PKGREVISION= 5 @@ -46,11 +46,7 @@ OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \ TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix" -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "NetBSD" -CONFIGURE_ARGS+= --with-random-device=/dev/urandom -.endif +CONFIGURE_ARGS.NetBSD+= --with-random-device=/dev/urandom # The following forces the X server to start on the 5th virtual terminal. # This is suboptimal but matches the defaults for the xdm configuration, @@ -65,6 +61,7 @@ CONFIGURE_ARGS+= --with-random-device=/dev/urandom # same terminal X used (the first one). As a result, only one of them # will receive key presses. And on slow machines, X will have lost access # to the keyboard. +.include "../../mk/bsd.prefs.mk" .if (${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD") && \ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") CONFIGURE_ARGS+= --with-default-vt=vt05 |