diff options
Diffstat (limited to 'meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch')
| -rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch index 1cec47fca0..1451ff5647 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | |||
| @@ -16,12 +16,8 @@ diff --git a/configure.ac b/configure.ac | |||
| 16 | index 951b3eb..1fdeb0f 100644 | 16 | index 951b3eb..1fdeb0f 100644 |
| 17 | --- a/configure.ac | 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
| 19 | @@ -866,10 +866,10 @@ MOZILLA_MIN_VERSION="1.4" | 19 | @@ -866,7 +866,7 @@ MOZILLA_MIN_VERSION="1.4" |
| 20 | NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss" | 20 | NSPR_INCLUDE_MARKER="nspr/nspr.h" |
| 21 | NSPR_PACKAGE=mozilla-nspr | ||
| 22 | NSS_PACKAGE=mozilla-nss | ||
| 23 | -NSPR_INCLUDE_MARKER="nspr/nspr.h" | ||
| 24 | +NSPR_INCLUDE_MARKER="nspr.h" | ||
| 25 | NSPR_LIB_MARKER="libnspr4$shrext" | 21 | NSPR_LIB_MARKER="libnspr4$shrext" |
| 26 | NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" | 22 | NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" |
| 27 | -NSS_INCLUDE_MARKER="nss/nss.h" | 23 | -NSS_INCLUDE_MARKER="nss/nss.h" |
| @@ -29,39 +25,3 @@ index 951b3eb..1fdeb0f 100644 | |||
| 29 | NSS_LIB_MARKER="libnss3$shrext" | 25 | NSS_LIB_MARKER="libnss3$shrext" |
| 30 | NSS_LIBS_LIST="-lnss3 -lsmime3" | 26 | NSS_LIBS_LIST="-lnss3 -lsmime3" |
| 31 | 27 | ||
| 32 | @@ -898,24 +898,24 @@ fi | ||
| 33 | dnl Priority 1: User specifies the path to installation | ||
| 34 | if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then | ||
| 35 | AC_MSG_CHECKING(for nspr library installation in "$with_nspr" folder) | ||
| 36 | - if test -f "$with_nspr/include/$NSPR_INCLUDE_MARKER" -a -f "$with_nspr/lib/$NSPR_LIB_MARKER" ; then | ||
| 37 | - NSPR_INCLUDE_PATH="$with_nspr/include" | ||
| 38 | - NSPR_LIB_PATH="$with_nspr/lib" | ||
| 39 | + if test -f "$with_nspr/usr/include/$NSPR_INCLUDE_MARKER" -a -f "$with_nspr/${libdir}/$NSPR_LIB_MARKER" ; then | ||
| 40 | + NSPR_INCLUDE_PATH="$with_nspr/usr/include" | ||
| 41 | + NSPR_LIB_PATH="$with_nspr/${libdir}" | ||
| 42 | NSPR_FOUND="yes" | ||
| 43 | AC_MSG_RESULT([yes]) | ||
| 44 | else | ||
| 45 | - AC_MSG_ERROR([not found: "$with_nspr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/lib/$NSPR_LIB_MARKER" files don't exist), typo?]) | ||
| 46 | + AC_MSG_ERROR([not found: "$with_nspr/usr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/${libdir}/$NSPR_LIB_MARKER" files don't exist), typo?]) | ||
| 47 | fi | ||
| 48 | fi | ||
| 49 | if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then | ||
| 50 | AC_MSG_CHECKING(for nss library installation in "$with_nss" folder) | ||
| 51 | - if test -f "$with_nss/include/$NSS_INCLUDE_MARKER" -a -f "$with_nss/lib/$NSS_LIB_MARKER" ; then | ||
| 52 | - NSS_INCLUDE_PATH="$with_nss/include" | ||
| 53 | - NSS_LIB_PATH="$with_nss/lib" | ||
| 54 | + if test -f "$with_nss/usr/include/$NSS_INCLUDE_MARKER" -a -f "$with_nss/${libdir}/$NSS_LIB_MARKER" ; then | ||
| 55 | + NSS_INCLUDE_PATH="$with_nss/usr/include/nss3" | ||
| 56 | + NSS_LIB_PATH="$with_nss/${libdir}" | ||
| 57 | NSS_FOUND="yes" | ||
| 58 | AC_MSG_RESULT([yes]) | ||
| 59 | else | ||
| 60 | - AC_MSG_ERROR([not found: "$with_nss/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/lib/$NSS_LIB_MARKER" files don't exist), typo?]) | ||
| 61 | + AC_MSG_ERROR([not found: "$with_nss/usr/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/${libdir}/$NSS_LIB_MARKER" files don't exist), typo?]) | ||
| 62 | fi | ||
| 63 | fi | ||
| 64 | |||
| 65 | -- | ||
| 66 | 2.7.4 | ||
| 67 | |||
