diff options
author | nia <nia@pkgsrc.org> | 2021-05-14 11:26:47 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-14 11:26:47 +0000 |
commit | ade6857f2648b8a7049eed173b6883ed59948e27 (patch) | |
tree | b55269f7409ffc056ada046811d8932003cbf7c0 | |
parent | f5ec8b1d05a1bec1dd743fa8bbdf3470754ec5e0 (diff) | |
download | pkgsrc-ade6857f2648b8a7049eed173b6883ed59948e27.tar.gz |
pscpug: honor LDFLAGS when linking, set LICENSE
-rw-r--r-- | sysutils/pscpug/Makefile | 5 | ||||
-rw-r--r-- | sysutils/pscpug/distinfo | 4 | ||||
-rw-r--r-- | sysutils/pscpug/patches/patch-Makefile.in | 22 | ||||
-rw-r--r-- | sysutils/pscpug/patches/patch-aa | 15 |
4 files changed, 27 insertions, 19 deletions
diff --git a/sysutils/pscpug/Makefile b/sysutils/pscpug/Makefile index 92d87c4b55a..cea502e7389 100644 --- a/sysutils/pscpug/Makefile +++ b/sysutils/pscpug/Makefile @@ -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 @@ EXTRACT_SUFX= .tgz MAINTAINER= bartosz.kuzma@gmail.com HOMEPAGE= http://www.diablonet.net/~mercadal/projects/pscpug/ COMMENT= Graph a given process's CPU usage +LICENSE= modified-bsd GNU_CONFIGURE= yes diff --git a/sysutils/pscpug/distinfo b/sysutils/pscpug/distinfo index 82c6d20a22f..62c6cdb3453 100644 --- a/sysutils/pscpug/distinfo +++ b/sysutils/pscpug/distinfo @@ -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 --git a/sysutils/pscpug/patches/patch-Makefile.in b/sysutils/pscpug/patches/patch-Makefile.in new file mode 100644 index 00000000000..02d1fe43214 --- /dev/null +++ b/sysutils/pscpug/patches/patch-Makefile.in @@ -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 --git a/sysutils/pscpug/patches/patch-aa b/sysutils/pscpug/patches/patch-aa deleted file mode 100644 index 3cd8ad374ce..00000000000 --- a/sysutils/pscpug/patches/patch-aa +++ /dev/null @@ -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 |