pkgsrc/security/xmlsec1/patches/patch-ab
2012-09-28 12:31:59 +00:00

52 lines
1.5 KiB
Text

$NetBSD: patch-ab,v 1.5 2012/09/28 12:31:59 adam Exp $
* portability fix
* DragonFly also not require extra libs for OpenSSL.
--- configure.orig 2011-05-11 23:02:14.000000000 +0000
+++ configure
@@ -9818,7 +9818,7 @@ darwin* | rhapsody*)
soname_spec='${libname}${release}${major}$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+ shrext_cmds='.dylib'
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
@@ -11005,7 +11005,7 @@ CC="$lt_save_CC"
-if test "z$RM" == "z" ; then
+if test "z$RM" = "z" ; then
# Extract the first word of "rm", so it can be a program name with args.
set dummy rm; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -11718,7 +11718,7 @@ else
fi
-if test "z$shrext" == "z" ; then
+if test "z$shrext" = "z" ; then
shrext=$shrext_cmds
fi
@@ -12465,6 +12465,8 @@ elif test "z$with_openssl" != "z" ; then
*-*-osf5*) openssl_exlibs=;;
*-*-openbsd*) openssl_exlibs=;;
*-*-netbsd*) openssl_exlibs=;;
+ *-*-dragonfly*) openssl_exlibs=;;
+ *-*-darwin*) openssl_exlibs=;;
#FIXME: check if lib "dl" is required
*) openssl_exlibs=-ldl;;
esac
@@ -12864,7 +12866,7 @@ else
XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST openssl"
fi
- if test "z$XMLSEC_NO_OPENSSL" == "z1"; then
+ if test "z$XMLSEC_NO_OPENSSL" = "z1"; then
XMLSEC_NO_OPENSSL_TRUE=
XMLSEC_NO_OPENSSL_FALSE='#'
else