diff options
| author | Jack Nagel | 2013-10-24 20:40:15 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-10-24 20:43:25 -0500 | 
| commit | 549d2f47467f4a8a487481efea816431a5860d9e (patch) | |
| tree | a0f9df14a42fa93ddc17c55b0b1b717318449264 /Library/Formula/glib-networking.rb | |
| parent | 9f05f9e256fab6e3f4bb326c0282b646f4147658 (diff) | |
| download | homebrew-549d2f47467f4a8a487481efea816431a5860d9e.tar.bz2 | |
glib-networking: upstream patch to fix installation
Fixes #23400.
Closes #23539.
Diffstat (limited to 'Library/Formula/glib-networking.rb')
| -rw-r--r-- | Library/Formula/glib-networking.rb | 40 | 
1 files changed, 40 insertions, 0 deletions
| diff --git a/Library/Formula/glib-networking.rb b/Library/Formula/glib-networking.rb index f22b0f6df..e9fa1060c 100644 --- a/Library/Formula/glib-networking.rb +++ b/Library/Formula/glib-networking.rb @@ -14,6 +14,12 @@ class GlibNetworking < Formula    depends_on 'gsettings-desktop-schemas'    depends_on 'curl-ca-bundle' => :optional +  def patches +    # Patch to fix installation issue +    # Adapted from upstream: https://git.gnome.org/browse/glib-networking/patch/?id=ce708edb561fa8ea1a5068100f43c6f68092f7f7 +    DATA +  end +    def install      if build.with? "curl-ca-bundle"        curl_ca_bundle = Formula.factory('curl-ca-bundle').opt_prefix @@ -29,3 +35,37 @@ class GlibNetworking < Formula      system "make install"    end  end + +__END__ +diff --git a/tls/tests/Makefile.in b/tls/tests/Makefile.in +index e657b34..31b96cd 100644 +--- a/tls/tests/Makefile.in ++++ b/tls/tests/Makefile.in +@@ -655,7 +655,7 @@ CLEANFILES = *.log *.trs $(am__append_13) + DISTCLEANFILES =  + MAINTAINERCLEANFILES =  + EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) \ +-	$(testfiles_DATA) ++	$(testfiles_data) +  + # We support a fairly large range of possible variables.  It is expected that all types of files in a test suite + # will belong in exactly one of the following variables. +@@ -741,8 +741,7 @@ test_programs = certificate file-database connection $(NULL) \ + @HAVE_PKCS11_TRUE@	mock-pkcs11.c mock-pkcs11.h \ + @HAVE_PKCS11_TRUE@	mock-interaction.c mock-interaction.h +  +-testfilesdir = $(installed_testdir)/files +-testfiles_DATA = \ ++testfiles_data = \ + 	files/ca.pem				\ + 	files/ca-roots.pem			\ + 	files/ca-verisign-sha1.pem		\ +@@ -760,6 +759,8 @@ testfiles_DATA = \ + 	files/server-self.pem			\ + 	$(NULL) +  ++@ENABLE_INSTALLED_TESTS_TRUE@testfilesdir = $(installed_testdir)/files ++@ENABLE_INSTALLED_TESTS_TRUE@testfiles_DATA = $(testfiles_data) + all: $(BUILT_SOURCES) + 	$(MAKE) $(AM_MAKEFLAGS) all-am +  | 
