diff options
author | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
commit | ad567db973bc8140134864d0dc716f16f1b62655 (patch) | |
tree | 97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/isc-dhcp4 | |
parent | 1c9fe296001fcf1aa65dafa4deddc7ea3d92602d (diff) | |
download | pkgsrc-ad567db973bc8140134864d0dc716f16f1b62655.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'net/isc-dhcp4')
-rw-r--r-- | net/isc-dhcp4/Makefile.common | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/isc-dhcp4/Makefile.common b/net/isc-dhcp4/Makefile.common index 3b56f1c56f3..3a71515490d 100644 --- a/net/isc-dhcp4/Makefile.common +++ b/net/isc-dhcp4/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.28 2016/01/22 12:06:40 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.29 2016/02/25 16:20:51 jperkin Exp $ # # used by net/isc-dhcp4/Makefile # used by net/isc-dhcpd4/Makefile @@ -50,14 +50,12 @@ CONFIGURE_ARGS+= --with-relay6-pid-file=${DHCP_PID}/isc-dhcrelay6.pid .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q} -. if ${OPSYS} == "NetBSD" # 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 +CONFIGURE_ENV.NetBSD+= ac_cv_file__dev_random=yes +CONFIGURE_ARGS.NetBSD+= --with-randomdev=/dev/random .endif SUBST_CLASSES+= config |