openbsd-ports/security/socks5/patches/patch-configure
espie 82f34a7ab5 r10 vanished.
r11 includes most patches.

+ gcc -shared to build object module.
2000-11-02 17:39:46 +00:00

25 lines
613 B
Plaintext

--- configure.orig Mon Aug 2 17:01:03 1999
+++ configure Thu Nov 2 16:45:14 2000
@@ -4716,6 +4716,12 @@ if test "$ac_cv_func_dlopen" = "yes" -o
SHLIB_CFLAGS="-fpic"
PRELOADS="LD_PRELOAD"
;;
+ OpenBSD*)
+ SHLIB_LD=gcc
+ SHLIB_LFLAGS="-shared -fpic"
+ SHLIB_CFLAGS="-fpic"
+ PRELOADS="LD_PRELOAD"
+ ;;
SunOS*4.*)
SHLIB_CFLAGS="-P"
SHLIB_LFLAGS="-dp -assert pure-text -assert nodefinitions"
@@ -4763,7 +4769,7 @@ if test "$ac_cv_func_dlopen" = "yes" -o
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
- FreeBSD*|NetBSD*)
+ FreeBSD*|NetBSD*|OpenBSD*)
;;
*)
SHLIB_LD="gcc"