diff options
author | 2016-05-08 12:18:47 -0400 | |
---|---|---|
committer | 2016-05-08 13:31:28 -0400 | |
commit | 0621475511838acdff08eee20f5d33a99b349c0a (patch) | |
tree | 2bf55f607c10c078c89fabcc7dfd77be50ad655b /dev-libs/re2/files | |
parent | dev-util/abi-compliance-checker: bump to 1.99.19 (diff) | |
download | gentoo-0621475511838acdff08eee20f5d33a99b349c0a.tar.gz gentoo-0621475511838acdff08eee20f5d33a99b349c0a.tar.bz2 gentoo-0621475511838acdff08eee20f5d33a99b349c0a.zip |
dev-libs/re2: bump to 2016-05-01
Closes: https://github.com/gentoo/gentoo/pull/1213
Package-Manager: portage-2.2.28_p97
Diffstat (limited to 'dev-libs/re2/files')
-rw-r--r-- | dev-libs/re2/files/0.2016.05.01-pkgconfig.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch new file mode 100644 index 000000000000..e4148a6df02a --- /dev/null +++ b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch @@ -0,0 +1,47 @@ +From 7dc941862819398db2ac4ae4239c8ed05431f928 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sun, 8 May 2016 11:54:00 -0400 +Subject: [PATCH] Substitute includedir and libdir in re2.pc + +--- + Makefile | 5 ++++- + re2.pc => re2.pc.in | 5 ++--- + 2 files changed, 6 insertions(+), 4 deletions(-) + rename re2.pc => re2.pc.in (71%) + +diff --git a/Makefile b/Makefile +index d0e2090..4a8d8a6 100644 +--- a/Makefile ++++ b/Makefile +@@ -273,7 +273,10 @@ install: obj/libre2.a obj/so/libre2.$(SOEXT) + $(INSTALL) obj/so/libre2.$(SOEXT) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER00) + ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER) + ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXT) +- sed -e "s#@prefix@#${prefix}#" re2.pc >$(DESTDIR)$(libdir)/pkgconfig/re2.pc ++ sed -e "s#@prefix@#$(prefix)#" \ ++ -e "s#@includedir@#$(includedir)#" \ ++ -e "s#@libdir@#$(libdir)#" \ ++ re2.pc.in >$(DESTDIR)$(libdir)/pkgconfig/re2.pc + + testinstall: static-testinstall shared-testinstall + @echo +diff --git a/re2.pc b/re2.pc.in +similarity index 71% +rename from re2.pc +rename to re2.pc.in +index 91ba181..a04a70a 100644 +--- a/re2.pc ++++ b/re2.pc.in +@@ -1,7 +1,6 @@ + prefix=@prefix@ +-exec_prefix=${prefix} +-includedir=${prefix}/include +-libdir=${exec_prefix}/lib ++includedir=@includedir@ ++libdir=@libdir@ + + Name: re2 + Description: RE2 is a fast, safe, thread-friendly regular expression engine. +-- +2.8.2 + |