pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/isc-dhcp4 Make this cross-compile again.
details: https://anonhg.NetBSD.org/pkgsrc/rev/17f09e300104
branches: trunk
changeset: 646725:17f09e300104
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Sat Feb 14 04:44:43 2015 +0000
description:
Make this cross-compile again.
diffstat:
net/isc-dhcp4/Makefile.common | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 78238d685207 -r 17f09e300104 net/isc-dhcp4/Makefile.common
--- a/net/isc-dhcp4/Makefile.common Sat Feb 14 04:37:16 2015 +0000
+++ b/net/isc-dhcp4/Makefile.common Sat Feb 14 04:44:43 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2014/10/14 13:53:00 taca Exp $
+# $NetBSD: Makefile.common,v 1.24 2015/02/14 04:44:43 riastradh Exp $
#
# used by net/isc-dhcp4/Makefile
# used by net/isc-dhcpd4/Makefile
@@ -50,8 +50,12 @@
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q}
. if ${OPSYS} == "NetBSD"
-# Target will have /dev/random.
+# Target will have /dev/random. For whatever reason this package
+# requires you to specify the random device to use, and for native
+# compilation it uses /dev/random, so we'll match that here even though
+# it is almost certainly the case that it should be using /dev/urandom.
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
+CONFIGURE_ARGS+= --with-randomdev=/dev/random
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index