pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/pscpug pscpug: honor LDFLAGS when linking, se...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5871df4c835
branches:  trunk
changeset: 452658:b5871df4c835
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 11:26:47 2021 +0000

description:
pscpug: honor LDFLAGS when linking, set LICENSE

diffstat:

 sysutils/pscpug/Makefile                  |   5 +++--
 sysutils/pscpug/distinfo                  |   4 ++--
 sysutils/pscpug/patches/patch-Makefile.in |  22 ++++++++++++++++++++++
 sysutils/pscpug/patches/patch-aa          |  15 ---------------
 4 files changed, 27 insertions(+), 19 deletions(-)

diffs (81 lines):

diff -r 45fa64f4c736 -r b5871df4c835 sysutils/pscpug/Makefile
--- a/sysutils/pscpug/Makefile  Fri May 14 11:21:51 2021 +0000
+++ b/sysutils/pscpug/Makefile  Fri May 14 11:26:47 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2017/01/03 22:38:01 roy Exp $
+# $NetBSD: Makefile,v 1.10 2021/05/14 11:26:47 nia Exp $
 
 DISTNAME=              pscpug035
 PKGNAME=               pscpug-0.3.5
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.diablonet.net/~mercadal/projects/pscpug/
 EXTRACT_SUFX=          .tgz
@@ -10,6 +10,7 @@
 MAINTAINER=            bartosz.kuzma%gmail.com@localhost
 HOMEPAGE=              http://www.diablonet.net/~mercadal/projects/pscpug/
 COMMENT=               Graph a given process's CPU usage
+LICENSE=               modified-bsd
 
 GNU_CONFIGURE=         yes
 
diff -r 45fa64f4c736 -r b5871df4c835 sysutils/pscpug/distinfo
--- a/sysutils/pscpug/distinfo  Fri May 14 11:21:51 2021 +0000
+++ b/sysutils/pscpug/distinfo  Fri May 14 11:26:47 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2017/06/30 00:31:45 kamil Exp $
+$NetBSD: distinfo,v 1.7 2021/05/14 11:26:47 nia Exp $
 
 SHA1 (pscpug035.tgz) = 5c19191001b35ddaa4399d63de79d8b1873619e2
 RMD160 (pscpug035.tgz) = 25931ad9d0a5f867a6bb5b1fa6e17ef8180a9880
 SHA512 (pscpug035.tgz) = 649a1bf212e90e9b7d1b80f98c86c80093fac78c42a57e1560c9e4b0b5ce7b72610320931f7e3f78300e1529d7db2cd9f3d18df98ba6a1ff302e72b28efe8ec4
 Size (pscpug035.tgz) = 41552 bytes
-SHA1 (patch-aa) = bf5953870246fa5c602ca526a160fca66711cbfd
+SHA1 (patch-Makefile.in) = c7c7398b5e66458516a2ac70c43b5275a834043a
 SHA1 (patch-psinfo.c) = d876fa244c06cc705a093d91ae907bbc14708a0a
diff -r 45fa64f4c736 -r b5871df4c835 sysutils/pscpug/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/pscpug/patches/patch-Makefile.in Fri May 14 11:26:47 2021 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile.in,v 1.1 2021/05/14 11:26:47 nia Exp $
+
+- Honor LDFLAGS when linking.
+- Use BSD_INSTALL_xx for installation.
+
+--- Makefile.in.orig   2009-03-11 18:28:57.000000000 +0000
++++ Makefile.in
+@@ -23,11 +23,11 @@ OBJ = ${SRC:.c=.o}
+ all : ${EXE}
+ 
+ ${EXE} : ${OBJ}
+-      @CC@ -o $@ ${OBJ} @LIBS@
++      @CC@ @LDFLAGS@ -o $@ ${OBJ} @LIBS@
+ 
+ install :
+-      @INSTALL_DATA@ ${EXE} @bindir@
+-      @INSTALL@ -m 644 ${MAN} @mandir@/man1/
++      ${BSD_INSTALL_PROGRAM} ${EXE} ${DESTDIR}@bindir@
++      ${BSD_INSTALL_MAN} ${MAN} ${DESTDIR}@mandir@/man1/
+ 
+ clean :
+       -rm -f ${OBJ} ${EXE} config.log config.status configure.lineno Makefile .DS_Store
diff -r 45fa64f4c736 -r b5871df4c835 sysutils/pscpug/patches/patch-aa
--- a/sysutils/pscpug/patches/patch-aa  Fri May 14 11:21:51 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2009/03/21 17:35:07 snj Exp $
-
---- Makefile.in.orig   2009-03-11 19:28:57.000000000 +0100
-+++ Makefile.in
-@@ -26,8 +26,8 @@ ${EXE} : ${OBJ}
-       @CC@ -o $@ ${OBJ} @LIBS@
- 
- install :
--      @INSTALL_DATA@ ${EXE} @bindir@
--      @INSTALL@ -m 644 ${MAN} @mandir@/man1/
-+      ${BSD_INSTALL_PROGRAM} ${EXE} ${DESTDIR}@bindir@
-+      ${BSD_INSTALL_MAN} ${MAN} ${DESTDIR}@mandir@/man1/
- 
- clean :
-       -rm -f ${OBJ} ${EXE} config.log config.status configure.lineno Makefile .DS_Store



Home | Main Index | Thread Index | Old Index