aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb6
-rw-r--r--Library/Homebrew/pkgconfig/libcurl.pc39
-rw-r--r--Library/Homebrew/pkgconfig/libexslt.pc12
-rw-r--r--Library/Homebrew/pkgconfig/libxml-2.0.pc13
-rw-r--r--Library/Homebrew/pkgconfig/libxslt.pc12
5 files changed, 82 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 6e5d335d0..363c6d356 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -9,6 +9,12 @@ module HomebrewEnvExtension
delete('CLICOLOR_FORCE') # autotools doesn't like this
remove_cc_etc
+ # Mountain Lion no longer ships a few .pcs; make sure we pick up our versions
+ if MacOS.mountain_lion?
+ prepend 'PKG_CONFIG_PATH',
+ HOMEBREW_REPOSITORY/'Library/Homebrew/pkgconfig', ':'
+ end
+
# make any aclocal stuff installed in Homebrew available
self['ACLOCAL_PATH'] = "#{HOMEBREW_PREFIX}/share/aclocal" if MacOS::Xcode.provides_autotools?
diff --git a/Library/Homebrew/pkgconfig/libcurl.pc b/Library/Homebrew/pkgconfig/libcurl.pc
new file mode 100644
index 000000000..cb2ebf4a5
--- /dev/null
+++ b/Library/Homebrew/pkgconfig/libcurl.pc
@@ -0,0 +1,39 @@
+#***************************************************************************
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
+# \___|\___/|_| \_\_____|
+#
+# Copyright (C) 2004 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
+#
+# This software is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at http://curl.haxx.se/docs/copyright.html.
+#
+# You may opt to use, copy, modify, merge, publish, distribute and/or sell
+# copies of the Software, and permit persons to whom the Software is
+# furnished to do so, under the terms of the COPYING file.
+#
+# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+# KIND, either express or implied.
+#
+###########################################################################
+
+# This should most probably benefit from getting a "Requires:" field added
+# dynamically by configure.
+#
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+supported_protocols="DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP"
+supported_features="SSL IPv6 libz AsynchDNS NTLM"
+
+Name: libcurl
+URL: http://curl.haxx.se/
+Description: Library to transfer files with ftp, http, etc.
+Version: 7.21.4
+Libs: -L${libdir} -lcurl
+Libs.private: -lssl -lcrypto -Wl,-weak-lldap -Wl,-weak-lgssapi_krb5 -lresolv -lssl -lcrypto -lz -lz
+Cflags: -I${includedir}
diff --git a/Library/Homebrew/pkgconfig/libexslt.pc b/Library/Homebrew/pkgconfig/libexslt.pc
new file mode 100644
index 000000000..c0b5f22da
--- /dev/null
+++ b/Library/Homebrew/pkgconfig/libexslt.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libexslt
+Version: 0.8.13
+Description: EXSLT Extension library
+Requires: libxml-2.0
+Libs: -L${libdir} -lexslt -lxslt -lxml2 -lz -lpthread -licucore -lm
+Cflags: -I${includedir}
diff --git a/Library/Homebrew/pkgconfig/libxml-2.0.pc b/Library/Homebrew/pkgconfig/libxml-2.0.pc
new file mode 100644
index 000000000..b2aac2a8b
--- /dev/null
+++ b/Library/Homebrew/pkgconfig/libxml-2.0.pc
@@ -0,0 +1,13 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+modules=1
+
+Name: libXML
+Version: 2.7.3
+Description: libXML library version2.
+Requires:
+Libs: -L${libdir} -lxml2
+Libs.private: -lpthread -lz -lm
+Cflags: -I${includedir}/libxml2
diff --git a/Library/Homebrew/pkgconfig/libxslt.pc b/Library/Homebrew/pkgconfig/libxslt.pc
new file mode 100644
index 000000000..60fdd436c
--- /dev/null
+++ b/Library/Homebrew/pkgconfig/libxslt.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+
+Name: libxslt
+Version: 1.1.24
+Description: XSLT library version 2.
+Requires: libxml-2.0
+Libs: -L${libdir} -lxslt -lxml2 -lz -lpthread -licucore -lm
+Cflags: -I${includedir}