openssl-0.9.8j: fix building of shared libraries on powerpc
authorJeremy Lainé <jeremy.laine@m4x.org>
Tue, 13 Jan 2009 10:38:10 +0000 (11:38 +0100)
committerJeremy Lainé <jeremy.laine@m4x.org>
Tue, 13 Jan 2009 10:38:10 +0000 (11:38 +0100)
packages/openssl/openssl-0.9.8j/shared-libs.patch
packages/openssl/openssl_0.9.8j.bb

index eb1e4a6..08b0c75 100644 (file)
@@ -29,6 +29,15 @@ Index: openssl-0.9.8j/Makefile.org
                                export CC FIPSLD_CC; \
                        fi; \
                        $(MAKE) -e SHLIBDIRS='crypto' build-shared; \
+@@ -371,7 +371,7 @@
+       @if [ "$(SHLIB_TARGET)" != "" ]; then \
+               shlibdeps=-lcrypto; \
+               [ "$(FIPSCANLIB)" = "libfips" ] && shlibdeps="$$shlibdeps -lfips"; \
+-              $(MAKE) SHLIBDIRS=ssl SHLIBDEPS="$$shlibdeps" build-shared; \
++              $(MAKE) -e SHLIBDIRS=ssl SHLIBDEPS="$$shlibdeps" build-shared; \
+       else \
+               echo "There's no support for shared libraries on this platform" >&2 ; \
+               exit 1; \
 @@ -380,7 +380,7 @@
  fips/fipscanister.o:  build_fips
  libfips$(SHLIB_EXT):          fips/fipscanister.o
index 2bda7f7..d40fb48 100644 (file)
@@ -2,7 +2,7 @@ inherit pkgconfig
 
 require openssl.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI += "file://configure-targets.patch;patch=1 \
             file://shared-libs.patch;patch=1 \