git: 9a27aa92762d - main - editors/openoffice-4: Strip binaries when !WITH_DEBUG

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Mon, 18 Nov 2024 02:48:43 UTC
The branch main has been updated by truckman:

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

commit 9a27aa92762d36f8e8f83fa0503069090a1cc82e
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-11-17 19:55:39 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-11-18 02:48:03 +0000

    editors/openoffice-4: Strip binaries when !WITH_DEBUG
    
    Some non-default options can generate debug symbols, so always
    strip the binaries when WITH_DEBUG is not set.
---
 editors/openoffice-4/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile
index e3ea858bbf74..b8bcfc44ddf4 100644
--- a/editors/openoffice-4/Makefile
+++ b/editors/openoffice-4/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	apache-openoffice
 PORTVERSION=	${AOOVERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors java
 MASTER_SITES=	https://dlcdn.apache.org/openoffice/${PORTVERSION}/source/ \
 		https://archive.apache.org/dist/openoffice/${PORTVERSION}/source/ \
@@ -202,6 +202,8 @@ WITH=	SDK
 
 .if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-symbols
+.else
+CONFIGURE_ARGS+=	--enable-strip-solver
 .endif
 
 .include <${FILESDIR}/Makefile.localized>