pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/coma coma: use MAKE_FLAGS to override MAN_DIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8f759691aed
branches:  trunk
changeset: 400455:d8f759691aed
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Aug 28 07:11:23 2019 +0000

description:
coma: use MAKE_FLAGS to override MAN_DIR.

There is no need to patch MAN_DIR in upstream Makefile.

Pointed out by wiz@, thanks!

diffstat:

 wm/coma/Makefile               |   4 ++--
 wm/coma/distinfo               |   4 ++--
 wm/coma/patches/patch-Makefile |  10 +++-------
 3 files changed, 7 insertions(+), 11 deletions(-)

diffs (59 lines):

diff -r a3a1a526ee39 -r d8f759691aed wm/coma/Makefile
--- a/wm/coma/Makefile  Wed Aug 28 06:37:55 2019 +0000
+++ b/wm/coma/Makefile  Wed Aug 28 07:11:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/08/19 12:31:23 fcambus Exp $
+# $NetBSD: Makefile,v 1.3 2019/08/28 07:11:23 fcambus Exp $
 
 DISTNAME=      coma-1.0
 CATEGORIES=    wm
@@ -11,7 +11,7 @@
 
 USE_LANGUAGES= c99
 
-MAKE_ENV+=     MAN_DIR="${PREFIX}/${PKGMANDIR}"
+MAKE_FLAGS+=   MAN_DIR="${PREFIX}/${PKGMANDIR}"
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
diff -r a3a1a526ee39 -r d8f759691aed wm/coma/distinfo
--- a/wm/coma/distinfo  Wed Aug 28 06:37:55 2019 +0000
+++ b/wm/coma/distinfo  Wed Aug 28 07:11:23 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2019/08/19 12:31:23 fcambus Exp $
+$NetBSD: distinfo,v 1.3 2019/08/28 07:11:23 fcambus Exp $
 
 SHA1 (coma-1.0.tar.gz) = e830786675e4f8542337363f8835e195e8f58593
 RMD160 (coma-1.0.tar.gz) = 672f1202d92b0ba324f97d28c5c0185d59c1f106
 SHA512 (coma-1.0.tar.gz) = 3df8fd17d269b3888fd931b5126f8e63c9aac63451be14fa8a20be09e945056cd7a45b062a6810a9bba0146fbd4b81791e8c0d9bbad1c18f26d1d3b222251e52
 Size (coma-1.0.tar.gz) = 13487 bytes
-SHA1 (patch-Makefile) = a77d6acfb5965ab6f83b3bc4bd2c558870c91665
+SHA1 (patch-Makefile) = eb554076a3573a63a42169507da2920ea60ee20a
diff -r a3a1a526ee39 -r d8f759691aed wm/coma/patches/patch-Makefile
--- a/wm/coma/patches/patch-Makefile    Wed Aug 28 06:37:55 2019 +0000
+++ b/wm/coma/patches/patch-Makefile    Wed Aug 28 07:11:23 2019 +0000
@@ -1,21 +1,17 @@
-$NetBSD: patch-Makefile,v 1.2 2019/08/19 12:31:23 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.3 2019/08/28 07:11:23 fcambus Exp $
 
 Adapt install target for pkgsrc.
 
 --- Makefile.orig      2019-01-17 20:01:53.000000000 +0000
 +++ Makefile
-@@ -2,9 +2,10 @@
+@@ -2,6 +2,7 @@
  
  CC?=cc
  COMA=coma
 +DESTDIR?=
  PREFIX?=/usr/local
  INSTALL_DIR=$(PREFIX)/bin
--MAN_DIR=$(PREFIX)/share/man
-+MAN_DIR?=$(PREFIX)/share/man
- 
- SRC=  coma.c client.c config.c frame.c wm.c
- OBJS= $(SRC:%.c=%.o)
+ MAN_DIR=$(PREFIX)/share/man
 @@ -27,8 +28,10 @@ LDFLAGS+=`pkg-config --libs x11 xft`
  all: $(COMA)
  



Home | Main Index | Thread Index | Old Index