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
commit0d677bb91e53ca8990bf665069c99a06613c3d57 (patch)
tree04e7cd5124769689c37480b905836fc329dfa108 /x11/xdm
parent8cfc7c1e9b7057f7a066639bcdc321d9b024bb03 (diff)
downloadpkgsrc-0d677bb91e53ca8990bf665069c99a06613c3d57.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"