git: ad05a2f3d080 - main - sysutils/coreutils: Fix GMP option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Sep 2024 11:18:27 UTC
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: