summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-06 15:56:09 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-06 15:56:09 +0000
commit90c7fed24b9b1a06132492fbb4b63bfa352b96f2 (patch)
tree04e7cd5124769689c37480b905836fc329dfa108 /x11/xdm
parentaa1bb321371355c6882b97983e3bb48e59c97c4d (diff)
downloadpkgsrc-90c7fed24b9b1a06132492fbb4b63bfa352b96f2.tar.gz
Hard-wire /dev/urandom on NetBSD for cross-compilation.
Diffstat (limited to 'x11/xdm')
-rw-r--r--x11/xdm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index c1fc88ddb58..ec0cc60272d 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/06 15:56:09 joerg Exp $
DISTNAME= xdm-1.1.4
PKGREVISION= 2
@@ -29,6 +29,10 @@ RCD_SCRIPTS= xdm
CFLAGS+= -fno-strict-aliasing
.endif
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --with-random-device=/dev/urandom
+.endif
+
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"