summaryrefslogtreecommitdiff
path: root/databases/tokyotyrant
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-17 20:14:55 +0000
committerwiz <wiz@pkgsrc.org>2020-08-17 20:14:55 +0000
commit7fd7302d20945be276edc57766363af689a974f0 (patch)
tree125ce512094b6d3c8ab41ab361296295a21ac5ff /databases/tokyotyrant
parent2ee10ead4fa70baaee81f45026f4f7a0503c7381 (diff)
downloadpkgsrc-7fd7302d20945be276edc57766363af689a974f0.tar.gz
tokyotyrant: fix unportable test(1) operator.
Diffstat (limited to 'databases/tokyotyrant')
-rw-r--r--databases/tokyotyrant/distinfo4
-rw-r--r--databases/tokyotyrant/patches/patch-aa24
2 files changed, 24 insertions, 4 deletions
diff --git a/databases/tokyotyrant/distinfo b/databases/tokyotyrant/distinfo
index 1215c6e7f55..e8ebbac4ee0 100644
--- a/databases/tokyotyrant/distinfo
+++ b/databases/tokyotyrant/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.28 2015/11/03 01:56:36 agc Exp $
+$NetBSD: distinfo,v 1.29 2020/08/17 20:14:55 wiz Exp $
SHA1 (tokyotyrant-1.1.41.tar.gz) = 060ac946a9ac902c1d244ffafd444f0e5840c0ce
RMD160 (tokyotyrant-1.1.41.tar.gz) = 679122c30104213991c640e4c9d4d0203308190a
SHA512 (tokyotyrant-1.1.41.tar.gz) = fb181ecab19981733b4b478614f9b28d7f1f776bafe6c58c4bc3e26ed294301a6242d7cd1d47b7d6b55a93305474d2e8e0a75f2f01af21a8bc93d158c8f8179e
Size (tokyotyrant-1.1.41.tar.gz) = 196196 bytes
-SHA1 (patch-aa) = d1c6aa7e3197b33a1988320ca5ad865ae3fa23c4
+SHA1 (patch-aa) = 6f4657a2dcb62a789322233a4ae0941d2dfefdba
SHA1 (patch-ab) = c263651729d1b8ce4fccb877869cc577577b260e
SHA1 (patch-ac) = fc87f88b82b8c49f340eb6707f4c2f8382eb2a7b
SHA1 (patch-scrext.c) = 62b71b62d612014316bca22fe97fc16b85f7ca05
diff --git a/databases/tokyotyrant/patches/patch-aa b/databases/tokyotyrant/patches/patch-aa
index 33a09b16153..063368e2413 100644
--- a/databases/tokyotyrant/patches/patch-aa
+++ b/databases/tokyotyrant/patches/patch-aa
@@ -1,8 +1,10 @@
-$NetBSD: patch-aa,v 1.3 2009/02/19 06:31:55 obache Exp $
+$NetBSD: patch-aa,v 1.4 2020/08/17 20:14:55 wiz Exp $
Honor CFLAGS and LDFLAGS passwed to configure script.
---- Makefile.in.orig 2009-02-16 08:35:25.000000000 +0000
+Avoid unportable test(1) operator.
+
+--- Makefile.in.orig 2010-02-01 16:40:38.000000000 +0000
+++ Makefile.in
@@ -54,8 +54,8 @@ CPPFLAGS = @MYCPPFLAGS@ \
-D_TT_PREFIX="\"$(prefix)\"" -D_TT_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
@@ -15,3 +17,21 @@ Honor CFLAGS and LDFLAGS passwed to configure script.
CMDLDFLAGS = @MYCMDLDFLAGS@
LIBS = @LIBS@
LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
+@@ -132,7 +132,7 @@ install :
+ cd man && cp -Rf $(MAN8FILES) $(DESTDIR)$(MAN8DIR)
+ mkdir -p $(DESTDIR)$(PCDIR)
+ cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
+- [ "$$UID" == 0 ] && ldconfig || true
++ [ "$$UID" = 0 ] && ldconfig || true
+ @printf '\n'
+ @printf '#================================================================\n'
+ @printf '# Thanks for using Tokyo Tyrant.\n'
+@@ -154,7 +154,7 @@ uninstall :
+ cd $(DESTDIR)$(MAN8DIR) && rm -f $(MAN8FILES)
+ rm -rf $(DESTDIR)$(DATADIR)
+ cd $(DESTDIR)$(PCDIR) && rm -f $(PCFILES)
+- [ "$$UID" == 0 ] && ldconfig || true
++ [ "$$UID" = 0 ] && ldconfig || true
+
+
+ dist :