diff options
author | riastradh <riastradh@pkgsrc.org> | 2013-05-10 00:52:04 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2013-05-10 00:52:04 +0000 |
commit | 90acbe9a9dfbc42339ec81c26f8964f9e5d128a1 (patch) | |
tree | 651f4cb60da4e56789cf3c6123ec64ac1e8372b9 /net | |
parent | 07bbe8cd345f37c3d45c067e61009dd907655a21 (diff) | |
download | pkgsrc-90acbe9a9dfbc42339ec81c26f8964f9e5d128a1.tar.gz |
Fix net/libbind cross-build on NetBSD.
Instruct autoconf that the target will have /dev/random.
ok agc
Diffstat (limited to 'net')
-rw-r--r-- | net/libbind/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/libbind/Makefile b/net/libbind/Makefile index 0f35df4e58d..9ae6f9ab720 100644 --- a/net/libbind/Makefile +++ b/net/libbind/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2012/10/23 17:18:33 asau Exp $ +# $NetBSD: Makefile,v 1.6 2013/05/10 00:52:04 riastradh Exp $ # DISTNAME= libbind-6.0 @@ -16,6 +16,14 @@ CONFLICTS= man-pages-[0-9]* GNU_CONFIGURE= yes USE_LIBTOOL= yes +.include "../../mk/bsd.prefs.mk" + +.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" +# Yes, we'll have /dev/random on NetBSD, even autoconf you can't detect +# it by compiling and running a program when cross-compiling. +CONFIGURE_ENV+= ac_cv_file__dev_random=yes +.endif + CONFIGURE_ARGS+= --with-libtool=yes MAKE_JOBS_SAFE= no |