openbsd-ports/security/socks5/patches/patch-configure

25 lines
613 B
Plaintext
Raw Normal View History

--- 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
1999-03-13 20:40:24 -05:00
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
1999-03-13 20:40:24 -05:00
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
- FreeBSD*|NetBSD*)
+ FreeBSD*|NetBSD*|OpenBSD*)
;;
*)
SHLIB_LD="gcc"