git: 9e3c1b56d747 - main - misc/wmweather+: remove unused dependencies and needless WRKSRC

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sun, 26 Jan 2025 06:34:10 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e3c1b56d74745c8ef0e789f83498c7f4375e3e7

commit 9e3c1b56d74745c8ef0e789f83498c7f4375e3e7
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-01-26 06:32:36 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-01-26 06:32:36 +0000

    misc/wmweather+: remove unused dependencies and needless WRKSRC
    
    These LIB_DEPENDS had been added in r78808 (now commit ae9a723b2711)
    back in 2003 for version 2.4, but neither that nor current version
    2.18 show any usage of these libraries.  The build logs and package
    contents are also identical, with or without them.
    
    $ egrep -ri 'tiff|hermes|png|gif|jpeg' wmweather+-2.4 weather+-2.18
    $ _
    
    Suggested by:   stage Q/A report
---
 misc/wmweather+/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/misc/wmweather+/Makefile b/misc/wmweather+/Makefile
index 6279282eb5c4..481e1a5be8dd 100644
--- a/misc/wmweather+/Makefile
+++ b/misc/wmweather+/Makefile
@@ -17,13 +17,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libpcre.so:devel/pcre \
-		libtiff.so:graphics/tiff \
-		libHermes.so:graphics/Hermes \
-		libpng.so:graphics/png \
-		libgif.so:graphics/giflib \
 		libwraster.so:x11-wm/libwraster
 
-USES=		iconv jpeg xorg
+USES=		iconv xorg
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libwraster=${LOCALBASE} \
 		--with-libpcre=${LOCALBASE} \
@@ -33,8 +29,6 @@ CONFIGURE_ARGS=	--with-libwraster=${LOCALBASE} \
 USE_XORG=	x11 xext xpm sm ice
 LDFLAGS+=	-lm
 
-WRKSRC=		${WRKDIR}/wmweather+-${PORTVERSION}
-
 SUB_FILES=	pkg-message
 
 PLIST_FILES=	bin/${PORTNAME} \