misc/gwhich: the port had been updated to the latest version 2.23

Garbage-collect GNU_CONFIGURE_MANPREFIX and no longer useful patch
(build logs show that -MD flag is used by default), define missing
LICENSE (GPLv3 or later).

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2025-02-09 09:26:28 +00:00
parent 1d7149682e
commit 36eabe1a5a
3 changed files with 6 additions and 16 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= gwhich
PORTVERSION= 2.21
PORTREVISION= 1
PORTVERSION= 2.23
CATEGORIES= misc
MASTER_SITES= GNU/which
DISTNAME= which-${PORTVERSION}
@ -9,8 +8,9 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU Which - Everything you never wanted in a which
WWW= https://savannah.gnu.org/projects/which/
LICENSE= GPLv3+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --program-prefix=g
INFO= which

View file

@ -1,2 +1,3 @@
SHA256 (which-2.21.tar.gz) = f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad
SIZE (which-2.21.tar.gz) = 149305
TIMESTAMP = 1738436283
SHA256 (which-2.23.tar.gz) = a2c558226fc4d9e4ce331bd2fd3c3f17f955115d2c00e447618a4ef9978a2a73
SIZE (which-2.23.tar.gz) = 201930

View file

@ -1,11 +0,0 @@
--- depcomp.orig 2012-09-11 08:57:17.000000000 +0200
+++ depcomp 2012-09-11 08:57:24.000000000 +0200
@@ -98,7 +98,7 @@
done
# Generate dependency file.
- "$@" -MT "$object" -M -MF "$tmpdepfile"
+ "$@" -MT "$object" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else