ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

openssl-1.0.0h-pkg-config.patch (1289B)


      1 depend on other pc files rather than encoding library info directly in
      2 every pkg-config file
      3 
      4 --- a/Makefile.org
      5 +++ b/Makefile.org
      6 @@ -335,11 +335,11 @@ libssl.pc: Makefile
      7  	    echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
      8  	    echo 'includedir=$${prefix}/include'; \
      9  	    echo ''; \
     10 -	    echo 'Name: OpenSSL'; \
     11 +	    echo 'Name: OpenSSL-libssl'; \
     12  	    echo 'Description: Secure Sockets Layer and cryptography libraries'; \
     13  	    echo 'Version: '$(VERSION); \
     14 -	    echo 'Requires: '; \
     15 -	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
     16 +	    echo 'Requires.private: libcrypto'; \
     17 +	    echo 'Libs: -L$${libdir} -lssl'; \
     18  	    echo 'Libs.private: $(EX_LIBS)'; \
     19  	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
     20  
     21 @@ -352,10 +353,7 @@ openssl.pc: Makefile
     22  	    echo 'Name: OpenSSL'; \
     23  	    echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
     24  	    echo 'Version: '$(VERSION); \
     25 -	    echo 'Requires: '; \
     26 -	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
     27 -	    echo 'Libs.private: $(EX_LIBS)'; \
     28 -	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
     29 +	    echo 'Requires: libssl libcrypto' ) > openssl.pc
     30  
     31  Makefile: Makefile.org Configure config
     32  	@echo "Makefile is older than Makefile.org, Configure or config."