summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-09-15 13:15:09 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2024-09-15 13:15:16 +0200
commitad05a2f3d0805a88394a5c637fe4577048a737ee (patch)
tree95e3d264b37fb6e33514732cd8806cb5d987679e
parentaudio/fluidsynth: Update to 2.3.6 and drop sndio support (diff)
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)
-rw-r--r--sysutils/coreutils/Makefile11
1 files 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: