Blame SOURCES/openssl-1.0.1-pkgconfig-krb5.patch

a5ef24
diff -up openssl-1.0.1/Makefile.org.krb5 openssl-1.0.1/Makefile.org
a5ef24
--- openssl-1.0.1/Makefile.org.krb5	2012-03-14 21:15:04.000000000 +0100
a5ef24
+++ openssl-1.0.1/Makefile.org	2012-04-11 16:28:31.254725422 +0200
a5ef24
@@ -370,7 +370,7 @@ libcrypto.pc: Makefile
a5ef24
 	    echo 'Requires: '; \
a5ef24
 	    echo 'Libs: -L$${libdir} -lcrypto'; \
a5ef24
 	    echo 'Libs.private: $(EX_LIBS)'; \
a5ef24
-	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc
a5ef24
+	    echo 'Cflags: -I$${includedir}' ) > libcrypto.pc
a5ef24
 
a5ef24
 libssl.pc: Makefile
a5ef24
 	@ ( echo 'prefix=$(INSTALLTOP)'; \
a5ef24
@@ -383,7 +383,7 @@ libssl.pc: Makefile
a5ef24
 	    echo 'Version: '$(VERSION); \
a5ef24
 	    echo 'Requires: '; \
a5ef24
 	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
a5ef24
-	    echo 'Libs.private: $(EX_LIBS)'; \
a5ef24
+	    echo 'Libs.private: $(EX_LIBS) $(LIBKRB5)'; \
a5ef24
 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
a5ef24
 
a5ef24
 openssl.pc: Makefile
a5ef24
@@ -397,7 +397,7 @@ openssl.pc: Makefile
a5ef24
 	    echo 'Version: '$(VERSION); \
a5ef24
 	    echo 'Requires: '; \
a5ef24
 	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
a5ef24
-	    echo 'Libs.private: $(EX_LIBS)'; \
a5ef24
+	    echo 'Libs.private: $(EX_LIBS) $(LIBKRB5)'; \
a5ef24
 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
a5ef24
 
a5ef24
 Makefile: Makefile.org Configure config