openbsd-ports/security/libgcrypt/patches/patch-configure
sturm b19bdaa76d update to libgcrypt 1.2.0
take maintainer, ok Jim Geovedi
2004-05-08 06:41:47 +00:00

44 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2004/05/08 06:41:47 sturm Exp $
--- configure.orig 2004-04-15 11:08:35.000000000 +0200
+++ configure 2004-04-17 16:44:56.000000000 +0200
@@ -2213,8 +2213,12 @@ esac
case "${target}" in
- *-openbsd* | *-netbsd*)
- # FIXME: Are these the best flags for OpenBSD?
+ *-openbsd*)
+ NAME_OF_DEV_RANDOM="/dev/arandom"
+ NAME_OF_DEV_URANDOM="/dev/arandom"
+# DYNLINK_MOD_CFLAGS="-shared -rdynamic $CFLAGS_PIC -Wl,-Bshareable -Wl,-x"
+ ;;
+ *-netbsd*)
NAME_OF_DEV_RANDOM="/dev/srandom"
NAME_OF_DEV_URANDOM="/dev/urandom"
# DYNLINK_MOD_CFLAGS="-shared -rdynamic $CFLAGS_PIC -Wl,-Bshareable -Wl,-x"
@@ -25679,24 +25683,6 @@ fi
- if ${MAKE-make} --version 2>/dev/null | grep '^GNU ' >/dev/null 2>&1; then
- :
- else
- { echo "$as_me:$LINENO: WARNING:
-***
-*** It seems that you are not using GNU make. Some make tools have serious
-*** flaws and you may not be able to build this software at all. Before you
-*** complain, please try GNU make: GNU make is easy to build and available
-*** at all GNU archives. It is always available from ftp.gnu.org:/gnu/make.
-***" >&5
-echo "$as_me: WARNING:
-***
-*** It seems that you are not using GNU make. Some make tools have serious
-*** flaws and you may not be able to build this software at all. Before you
-*** complain, please try GNU make: GNU make is easy to build and available
-*** at all GNU archives. It is always available from ftp.gnu.org:/gnu/make.
-***" >&2;}
- fi
# Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.