aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mozjs38/pkg-config-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-11 15:35:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-10-11 15:35:29 +0000
commit1fa80cad00c2c2449252fba87dab64a03cd76ac8 (patch)
tree113f1f37ecf9e70eae80897f69a287f3ab0b6d43 /testing/mozjs38/pkg-config-version.patch
parentfde93c49a55b265ca740d9081a4ca70f41656e4b (diff)
downloadaports-1fa80cad00c2c2449252fba87dab64a03cd76ac8.tar.bz2
aports-1fa80cad00c2c2449252fba87dab64a03cd76ac8.tar.xz
testing/mozjs38: rename
we should not have -[0-9] in pkgname
Diffstat (limited to 'testing/mozjs38/pkg-config-version.patch')
-rw-r--r--testing/mozjs38/pkg-config-version.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/mozjs38/pkg-config-version.patch b/testing/mozjs38/pkg-config-version.patch
new file mode 100644
index 0000000000..34a43d1f6d
--- /dev/null
+++ b/testing/mozjs38/pkg-config-version.patch
@@ -0,0 +1,22 @@
+Add major version to pkg-config filename.
+Author: Rico Tzschichholz <ricotz@ubuntu.com>
+Forwarded: no
+Last-Update: 2015-05-04
+
+Index: b/js/src/Makefile.in
+===================================================================
+--- a/js/src/Makefile.in
++++ b/js/src/Makefile.in
+@@ -214,10 +214,10 @@
+ $(JS_CONFIG_NAME): js-config
+ cp $^ $@
+
+-$(LIBRARY_NAME).pc: js.pc
++$(JS_LIBRARY_NAME).pc: js.pc
+ cp $^ $@
+
+-install:: $(LIBRARY_NAME).pc
++install:: $(JS_LIBRARY_NAME).pc
+ $(SYSINSTALL) $^ $(DESTDIR)$(libdir)/pkgconfig
+
+ install:: js-config.h