summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-06 15:56:09 +0000
committerjoerg <joerg>2007-08-06 15:56:09 +0000
commit4bef4517a8e105a161856675a1021aeabfb8799f (patch)
tree04e7cd5124769689c37480b905836fc329dfa108 /x11/xdm
parent25f4651002011f7f1679a9bbfa13e5a1092254f8 (diff)
downloadpkgsrc-4bef4517a8e105a161856675a1021aeabfb8799f.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"