git: 1d7a588c0db7 - main - sysutils/nut*: Strip binaries

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 21:51:35 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d7a588c0db7a1f90cebe61a93337560f4de670f

commit 1d7a588c0db7a1f90cebe61a93337560f4de670f
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-04-27 21:29:50 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-04-27 21:51:21 +0000

    sysutils/nut*: Strip binaries
    
    Fix developer mode warning for a number of shared libraries.
    
    Reported by:    Developer mode
---
 sysutils/nut-devel/Makefile | 2 ++
 sysutils/nut/Makefile       | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index e8c70a66bb8f..233778750503 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
@@ -55,6 +56,7 @@ PORTDOCS=	*
 .include <bsd.port.options.mk>
 
 TMPDIR?=	/tmp
+INSTALL_TARGET=	install-strip
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/nut \
 		--program-transform-name="" \
 		--localstatedir=${STATEDIR} \
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index bb9792c23ae7..4122864bb532 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	2.7.4
-PORTREVISION=	20
+PORTREVISION=	21
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -48,6 +48,7 @@ PORTDOCS=	*
 
 .include <bsd.port.options.mk>
 
+INSTALL_TARGET=	install-strip
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/nut \
 		--program-transform-name="" \
 		--localstatedir=${STATEDIR} \