pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/lr lr: Needed missing patch to install to PREFIX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e60bc0c787d5
branches:  trunk
changeset: 409100:e60bc0c787d5
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 15 16:24:18 2020 +0000

description:
lr: Needed missing patch to install to PREFIX.

diffstat:

 misc/lr/Makefile               |   3 ++-
 misc/lr/distinfo               |   4 ++--
 misc/lr/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r c6515283dc7e -r e60bc0c787d5 misc/lr/Makefile
--- a/misc/lr/Makefile  Wed Jan 15 16:19:22 2020 +0000
+++ b/misc/lr/Makefile  Wed Jan 15 16:24:18 2020 +0000
@@ -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 @@
 COMMENT=       List files, recursively
 LICENSE=       mit
 
+MAKE_FLAGS+=   PREFIX=${PREFIX}
 MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r c6515283dc7e -r e60bc0c787d5 misc/lr/distinfo
--- a/misc/lr/distinfo  Wed Jan 15 16:19:22 2020 +0000
+++ b/misc/lr/distinfo  Wed Jan 15 16:24:18 2020 +0000
@@ -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 -r c6515283dc7e -r e60bc0c787d5 misc/lr/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/lr/patches/patch-Makefile    Wed Jan 15 16:24:18 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index