pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/re2 devel/re2: Fix library install_name on Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe40446e8edb
branches: trunk
changeset: 372617:fe40446e8edb
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Dec 11 18:01:51 2017 +0000
description:
devel/re2: Fix library install_name on Darwin
Bump PKGREVISION.
diffstat:
devel/re2/Makefile | 3 ++-
devel/re2/distinfo | 4 ++--
devel/re2/patches/patch-Makefile | 18 ++++++++++++++----
3 files changed, 18 insertions(+), 7 deletions(-)
diffs (53 lines):
diff -r f5074b76f275 -r fe40446e8edb devel/re2/Makefile
--- a/devel/re2/Makefile Mon Dec 11 14:48:50 2017 +0000
+++ b/devel/re2/Makefile Mon Dec 11 18:01:51 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2017/03/31 17:19:23 fhajny Exp $
+# $NetBSD: Makefile,v 1.5 2017/12/11 18:01:51 minskim Exp $
DISTNAME= re2-20170301
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG= 2017-01-01
diff -r f5074b76f275 -r fe40446e8edb devel/re2/distinfo
--- a/devel/re2/distinfo Mon Dec 11 14:48:50 2017 +0000
+++ b/devel/re2/distinfo Mon Dec 11 18:01:51 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/03/31 17:19:23 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2017/12/11 18:01:51 minskim Exp $
SHA1 (re2-20170301.tar.gz) = b2b8c60bfd2d413081771c5ee0efec6ff063f381
RMD160 (re2-20170301.tar.gz) = 3a9903ca2b10e5b2020808954d026240d2f0f2cc
SHA512 (re2-20170301.tar.gz) = 52ec99fe1bfb2754e11e3767a561208f14c3e5c03142c37b43df7cf5a406896396854a3776ae536ddf293a770d8ca80f9c761c2c476394693a5954c15550a731
Size (re2-20170301.tar.gz) = 379866 bytes
-SHA1 (patch-Makefile) = 874a72ed6365e4724eb28c9f677d8441cec3d831
+SHA1 (patch-Makefile) = cd7754d4591bbf45358396ccc83d107a2249e82c
diff -r f5074b76f275 -r fe40446e8edb devel/re2/patches/patch-Makefile
--- a/devel/re2/patches/patch-Makefile Mon Dec 11 14:48:50 2017 +0000
+++ b/devel/re2/patches/patch-Makefile Mon Dec 11 18:01:51 2017 +0000
@@ -1,10 +1,20 @@
-$NetBSD: patch-Makefile,v 1.1 2017/03/31 17:19:23 fhajny Exp $
+$NetBSD: patch-Makefile,v 1.2 2017/12/11 18:01:52 minskim Exp $
-Avoid in-place sed for better portability.
+- Use the full path as the shared library's install_name on Darwin.
+- Avoid in-place sed for better portability.
---- Makefile.orig 2017-03-31 17:05:44.915188459 +0000
+--- Makefile.orig 2016-12-13 11:22:01.000000000 +0000
+++ Makefile
-@@ -290,11 +290,12 @@ install: obj/libre2.a obj/so/libre2.$(SO
+@@ -55,7 +55,7 @@ ifeq ($(shell uname),Darwin)
+ SOEXT=dylib
+ SOEXTVER=$(SONAME).$(SOEXT)
+ SOEXTVER00=$(SONAME).0.0.$(SOEXT)
+-MAKE_SHARED_LIBRARY=$(CXX) -dynamiclib -Wl,-install_name,@rpath/libre2.$(SOEXTVER),-exported_symbols_list,libre2.symbols.darwin $(RE2_LDFLAGS) $(LDFLAGS)
++MAKE_SHARED_LIBRARY=$(CXX) -dynamiclib -Wl,-install_name,$(libdir)/libre2.$(SOEXTVER),-exported_symbols_list,libre2.symbols.darwin $(RE2_LDFLAGS) $(LDFLAGS)
+ else ifeq ($(shell uname),SunOS)
+ SOEXT=so
+ SOEXTVER=$(SOEXT).$(SONAME)
+@@ -283,11 +283,12 @@ install: obj/libre2.a obj/so/libre2.$(SO
$(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)
Home |
Main Index |
Thread Index |
Old Index