Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2024 11:18:27 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ad05a2f3d080 - main - sysutils/coreutils: Fix GMP option
Message-ID:  <202409151118.48FBIRFf058012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit ad05a2f3d0805a88394a5c637fe4577048a737ee
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-09-15 11:15:09 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-09-15 11:15:16 +0000

    sysutils/coreutils: Fix GMP option
    
    Toggle is libgmp not gmp, while at adjust layout in Makefile
    
    PR:             281075
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 sysutils/coreutils/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 02df90412529..9100b1bc911e 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -29,11 +29,14 @@ CONFLICTS_INSTALL=	gdu geneweb gexpr rubygem-god # bin/gdu bin/gexpr bin/god bin
 
 INFO=		coreutils
 
-OPTIONS_DEFINE=	GMP NLS
-OPTIONS_SUB=	yes
+OPTIONS_DEFINE=		GMP NLS
+OPTIONS_SUB=		yes
+
+GMP_USES=		localbase:ldflags
 GMP_LIB_DEPENDS=	libgmp.so:math/gmp
-GMP_CONFIGURE_WITH=	gmp
-NLS_USES=	gettext
+GMP_CONFIGURE_WITH=	libgmp
+
+NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
 post-build:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409151118.48FBIRFf058012>