add necessary .pc files for Leopard
add missing libcrypto.pc override broken system libcurl.pc Closes Homebrew/homebrew#16063. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
8cc3479fb7
commit
cf7f0f250f
11
Library/ENV/pkgconfigLeopard/libcrypto.pc
Normal file
11
Library/ENV/pkgconfigLeopard/libcrypto.pc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: OpenSSL-libcrypto
|
||||||
|
Description: OpenSSL cryptography library
|
||||||
|
Version: 0.9.7l
|
||||||
|
Requires:
|
||||||
|
Libs: -L${libdir} -lcrypto -lz
|
||||||
|
Cflags: -I${includedir}
|
||||||
12
Library/ENV/pkgconfigLeopard/libcurl.pc
Normal file
12
Library/ENV/pkgconfigLeopard/libcurl.pc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: libcurl
|
||||||
|
URL: http://curl.haxx.se/
|
||||||
|
Description: Library to transfer files with ftp, http, etc.
|
||||||
|
Version: 7.16.4
|
||||||
|
Libs: -L${libdir} -lcurl
|
||||||
|
Libs.private: -lssl -lcrypto -Wl,-weak-lldap -Wl,-weak-lgssapi_krb5 -lresolv -lz
|
||||||
|
Cflags: -I${includedir}
|
||||||
@ -68,6 +68,7 @@ module HomebrewEnvExtension
|
|||||||
paths << HOMEBREW_PREFIX/'lib/pkgconfig'
|
paths << HOMEBREW_PREFIX/'lib/pkgconfig'
|
||||||
paths << HOMEBREW_PREFIX/'share/pkgconfig'
|
paths << HOMEBREW_PREFIX/'share/pkgconfig'
|
||||||
paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfig' if MacOS.version >= :mountain_lion
|
paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfig' if MacOS.version >= :mountain_lion
|
||||||
|
paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfigLeopard' if MacOS.version <= :leopard
|
||||||
paths << '/usr/lib/pkgconfig'
|
paths << '/usr/lib/pkgconfig'
|
||||||
paths.select { |d| File.directory? d }.join(':')
|
paths.select { |d| File.directory? d }.join(':')
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user