pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/lz4 Fix installation and PLIST.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3955e6d69eb4
branches:  trunk
changeset: 356826:3955e6d69eb4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 05 11:07:55 2017 +0000

description:
Fix installation and PLIST.

diffstat:

 archivers/lz4/distinfo                   |   4 ++--
 archivers/lz4/patches/patch-lib_Makefile |  18 +++++++++++++++---
 2 files changed, 17 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 1d3376a1ac85 -r 3955e6d69eb4 archivers/lz4/distinfo
--- a/archivers/lz4/distinfo    Thu Jan 05 11:02:53 2017 +0000
+++ b/archivers/lz4/distinfo    Thu Jan 05 11:07:55 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2017/01/04 15:43:51 fhajny Exp $
+$NetBSD: distinfo,v 1.11 2017/01/05 11:07:55 wiz Exp $
 
 SHA1 (lz4-1.7.5.tar.gz) = a710a7d45beb0951806d2b98f0c1739107e97c14
 RMD160 (lz4-1.7.5.tar.gz) = ff25713033480dead389241f572f327cb6afe175
 SHA512 (lz4-1.7.5.tar.gz) = b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295
 Size (lz4-1.7.5.tar.gz) = 208019 bytes
 SHA1 (patch-Makefile) = 8519985405e6f2c0ef63cc39129b00c9867382f9
-SHA1 (patch-lib_Makefile) = 016fbc604e6c121fd2eb9d3aba5be40373c6de60
+SHA1 (patch-lib_Makefile) = cb2abb05aacc760395ae1d17e0af7ba6fba04419
 SHA1 (patch-programs_Makefile) = 1bf3864515a1276cbad516ebd519caa918b847b2
diff -r 1d3376a1ac85 -r 3955e6d69eb4 archivers/lz4/patches/patch-lib_Makefile
--- a/archivers/lz4/patches/patch-lib_Makefile  Thu Jan 05 11:02:53 2017 +0000
+++ b/archivers/lz4/patches/patch-lib_Makefile  Thu Jan 05 11:07:55 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_Makefile,v 1.4 2017/01/04 15:43:51 fhajny Exp $
+$NetBSD: patch-lib_Makefile,v 1.5 2017/01/05 11:07:55 wiz Exp $
 
 Make portable. Unlock install target. Use pkgsrc install scripts.
 
@@ -29,7 +29,19 @@
  ifneq (,$(filter $(shell uname),SunOS))
  INSTALL ?= ginstall
  else
-@@ -134,26 +129,26 @@ INSTALL_DATA ?= $(INSTALL) -m 644
+@@ -123,37 +118,33 @@ DESTDIR    ?=
+ LIBDIR     ?= $(PREFIX)/lib
+ INCLUDEDIR ?= $(PREFIX)/include
+ 
+-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
+-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
+-else
+-PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
+-endif
++PKGCONFIGDIR ?= $(PREFIX)/lib/pkgconfig
+ 
+ INSTALL_LIB  ?= $(INSTALL) -m 755
+ INSTALL_DATA ?= $(INSTALL) -m 644
  
  liblz4.pc: liblz4.pc.in Makefile
        @echo creating pkgconfig
@@ -67,7 +79,7 @@
        @echo lz4 static and shared libraries installed
  
  uninstall:
-@@ -167,4 +162,3 @@ uninstall:
+@@ -167,4 +158,3 @@ uninstall:
        @$(RM) $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
        @echo lz4 libraries successfully uninstalled
  



Home | Main Index | Thread Index | Old Index