$NetBSD: patch-dy,v 1.2 2008/10/20 12:30:16 hira Exp $ --- libxmlsec/xmlsec1-1.2.6.patch.orig 2008-03-18 23:06:34.000000000 +0900 +++ libxmlsec/xmlsec1-1.2.6.patch 2008-10-20 03:29:32.000000000 +0900 @@ -175,6 +175,23 @@ case $version_type in freebsd-elf*) *************** +*** 7969,7975 **** + ;; + + netbsd*) +! version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +--- 7970,7976 ---- + ;; + + netbsd*) +! version_type=freebsd-elf + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +*************** *** 9046,9052 **** ;; esac @@ -249,6 +266,23 @@ case $version_type in freebsd-elf*) *************** +*** 11688,11694 **** + ;; + + netbsd*) +! version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +--- 11689,11695 ---- + ;; + + netbsd*) +! version_type=freebsd-elf + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +*************** *** 13259,13269 **** lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; @@ -308,6 +342,23 @@ case $version_type in freebsd-elf*) *************** +*** 14858,14864 **** + ;; + + netbsd*) +! version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +--- 14859,14865 ---- + ;; + + netbsd*) +! version_type=freebsd-elf + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +*************** *** 15607,15617 **** lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; @@ -384,6 +435,23 @@ case $version_type in freebsd-elf*) *************** +*** 17226,17232 **** + ;; + + netbsd*) +! version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +--- 17227,17233 ---- + ;; + + netbsd*) +! version_type=freebsd-elf + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +*************** *** 24598,24604 **** fi @@ -418,7 +486,7 @@ XMLSEC_NO_NSS="1" MOZILLA_MIN_VERSION="1.4" -+ if test "z$MOZ_FLAVOUR" = "zfirefox" ; then ++ if test "z$MOZ_FLAVOUR" = "zfirefox" -o "z$MOZ_FLAVOUR" = "zseamonkey"; then + MOZILLA_MIN_VERSION="1.0" + fi NSS_MIN_VERSION="3.2" @@ -2705,7 +2773,7 @@ XMLSEC_NO_NSS="1" MOZILLA_MIN_VERSION="1.4" -+ if test "z$MOZ_FLAVOUR" = "zfirefox" ; then ++ if test "z$MOZ_FLAVOUR" = "zfirefox" -o "z$MOZ_FLAVOUR" = "zseamonkey"; then + MOZILLA_MIN_VERSION="1.0" + fi NSS_MIN_VERSION="3.2"