summaryrefslogtreecommitdiff
path: root/misc/lr
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-15 16:24:18 +0000
committernia <nia@pkgsrc.org>2020-01-15 16:24:18 +0000
commit95fc1701b1d81cbb44efbb444f18513ed2654bb2 (patch)
tree165471634ab59e14907028786247fe1a23029254 /misc/lr
parent911ebb49736874ee3d1ddabefa0929a6f594913c (diff)
downloadpkgsrc-95fc1701b1d81cbb44efbb444f18513ed2654bb2.tar.gz
lr: Needed missing patch to install to PREFIX.
Diffstat (limited to 'misc/lr')
-rw-r--r--misc/lr/Makefile3
-rw-r--r--misc/lr/distinfo4
-rw-r--r--misc/lr/patches/patch-Makefile15
3 files changed, 19 insertions, 3 deletions
diff --git a/misc/lr/Makefile b/misc/lr/Makefile
index 87842061a20..2d603398018 100644
--- a/misc/lr/Makefile
+++ b/misc/lr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/15 14:56:46 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/15 16:24:18 nia Exp $
DISTNAME= lr-1.5
CATEGORIES= misc
@@ -11,6 +11,7 @@ HOMEPAGE= https://github.com/leahneukirchen/lr
COMMENT= List files, recursively
LICENSE= mit
+MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/lr/distinfo b/misc/lr/distinfo
index 7f43050521a..aecb5025a78 100644
--- a/misc/lr/distinfo
+++ b/misc/lr/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/15 14:56:46 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/01/15 16:24:18 nia Exp $
SHA1 (lr-1.5.tar.gz) = ceeb27c471b78bb0a34f077138690511020efd6c
RMD160 (lr-1.5.tar.gz) = 3045c617329176f6b804251446a82cf9ba468bdc
SHA512 (lr-1.5.tar.gz) = f703dcc4e79c2ab631ac10b19a566074480c1f62ccbdea32ea550256cc6c907454c90e6fc8a93f23ce2ffbd6dfb631bacbbb2e1c1828cbebb8a9c4a79d605f12
Size (lr-1.5.tar.gz) = 37824 bytes
-SHA1 (patch-Makefile) = 0a611c0e7448b7576279a5d62989800ce921e3f2
+SHA1 (patch-Makefile) = c994eb24924129a6303d167d56ef78b84690a0e1
diff --git a/misc/lr/patches/patch-Makefile b/misc/lr/patches/patch-Makefile
new file mode 100644
index 00000000000..fc5568d21cb
--- /dev/null
+++ b/misc/lr/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2020/01/15 16:24:18 nia Exp $
+
+Do not override CFLAGS.
+
+--- Makefile.orig 2020-01-01 12:31:32.000000000 +0000
++++ Makefile
+@@ -1,7 +1,7 @@
+ ALL=lr
+ ZSHCOMP=_lr
+
+-CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings
++CFLAGS+= -Wall -Wno-switch -Wextra -Wwrite-strings
+
+ DESTDIR=
+ PREFIX=/usr/local