Don't try to use obsolete /dev/*random devices for OpenBSD.

Replace gettext module.
This commit is contained in:
naddy 2017-11-01 16:31:24 +00:00
parent b4a00a9854
commit d93be69877
2 changed files with 20 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2015/03/16 18:07:54 naddy Exp $
# $OpenBSD: Makefile,v 1.13 2017/11/01 16:31:24 naddy Exp $
COMMENT= GNU implementation of the SASL framework
@ -7,17 +7,16 @@ CATEGORIES= security
HOMEPAGE= https://www.gnu.org/software/gsasl/
MASTER_SITES= ${MASTER_SITE_GNU:=gsasl/}
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
REVISION = 2
REVISION = 3
SHARED_LIBS += gsasl 0.0 # 14.6
# LGPLv2.1
PERMIT_PACKAGE_CDROM= yes
MODULES= devel/gettext
WANTLIB+= gcrypt gpg-error idn
LIB_DEPENDS= devel/libidn \
WANTLIB+= gcrypt gpg-error iconv idn intl
LIB_DEPENDS= devel/gettext \
devel/libidn \
security/libgcrypt
# non-shared does not inherit LIB_DEPENDS
@ -25,5 +24,6 @@ LIB_DEPENDS += security/libgpg-error
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-configure,v 1.1 2017/11/01 16:31:24 naddy Exp $
Index: configure
--- configure.orig
+++ configure
@@ -23904,7 +23904,7 @@ _ACEOF
case "$host_os" in
- *openbsd* | *mirbsd*)
+ *mirbsd*)
NAME_OF_RANDOM_DEVICE="/dev/srandom"
NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/prandom"
NAME_OF_NONCE_DEVICE="/dev/urandom"