pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/re2 Update devel/re2 to 2017-03-01. No changelog...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b8784d9347e
branches:  trunk
changeset: 360522:2b8784d9347e
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Mar 31 17:19:23 2017 +0000

description:
Update devel/re2 to 2017-03-01. No changelog released.
Improve portability by avoiding in-place sed.

diffstat:

 devel/re2/Makefile               |   4 ++--
 devel/re2/distinfo               |  11 ++++++-----
 devel/re2/patches/patch-Makefile |  24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 17140e6bc207 -r 2b8784d9347e devel/re2/Makefile
--- a/devel/re2/Makefile        Fri Mar 31 15:15:36 2017 +0000
+++ b/devel/re2/Makefile        Fri Mar 31 17:19:23 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2017/01/02 08:05:50 mef Exp $
+# $NetBSD: Makefile,v 1.4 2017/03/31 17:19:23 fhajny Exp $
 
-DISTNAME=      re2-20170101
+DISTNAME=      re2-20170301
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=    2017-01-01
diff -r 17140e6bc207 -r 2b8784d9347e devel/re2/distinfo
--- a/devel/re2/distinfo        Fri Mar 31 15:15:36 2017 +0000
+++ b/devel/re2/distinfo        Fri Mar 31 17:19:23 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2017/01/02 08:05:50 mef Exp $
+$NetBSD: distinfo,v 1.4 2017/03/31 17:19:23 fhajny Exp $
 
-SHA1 (re2-20170101.tar.gz) = b2b8c60bfd2d413081771c5ee0efec6ff063f381
-RMD160 (re2-20170101.tar.gz) = 3a9903ca2b10e5b2020808954d026240d2f0f2cc
-SHA512 (re2-20170101.tar.gz) = 52ec99fe1bfb2754e11e3767a561208f14c3e5c03142c37b43df7cf5a406896396854a3776ae536ddf293a770d8ca80f9c761c2c476394693a5954c15550a731
-Size (re2-20170101.tar.gz) = 379866 bytes
+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
diff -r 17140e6bc207 -r 2b8784d9347e devel/re2/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/re2/patches/patch-Makefile  Fri Mar 31 17:19:23 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-Makefile,v 1.1 2017/03/31 17:19:23 fhajny Exp $
+
+Avoid in-place sed for better portability.
+
+--- Makefile.orig      2017-03-31 17:05:44.915188459 +0000
++++ Makefile
+@@ -290,11 +290,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)
+-      $(INSTALL_DATA) re2.pc $(DESTDIR)$(libdir)/pkgconfig/re2.pc
+-      $(SED_INPLACE) -e "s#@prefix@#${prefix}#" $(DESTDIR)$(libdir)/pkgconfig/re2.pc
+-      $(SED_INPLACE) -e "s#@exec_prefix@#${exec_prefix}#" $(DESTDIR)$(libdir)/pkgconfig/re2.pc
+-      $(SED_INPLACE) -e "s#@includedir@#${includedir}#" $(DESTDIR)$(libdir)/pkgconfig/re2.pc
+-      $(SED_INPLACE) -e "s#@libdir@#${libdir}#" $(DESTDIR)$(libdir)/pkgconfig/re2.pc
++      sed \
++              -e "s#@prefix@#${prefix}#" \
++              -e "s#@exec_prefix@#${exec_prefix}#" \
++              -e "s#@includedir@#${includedir}#" \
++              -e "s#@libdir@#${libdir}#" \
++              re2.pc > $(DESTDIR)$(libdir)/pkgconfig/re2.pc
+ 
+ testinstall: static-testinstall shared-testinstall
+       @echo



Home | Main Index | Thread Index | Old Index