aboutsummaryrefslogtreecommitdiff
path: root/sysutils/coreutils/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2012-09-09 10:24:25 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2012-09-09 10:24:25 +0000
commit18574ecda928258600a0eef0c79eb796adcca1c0 (patch)
treee6127ce2eee43a2ed17dae7da5221d05bc9f6644 /sysutils/coreutils/Makefile
parent19fc6358957283408c67885ef6eeede14bbdd23c (diff)
downloadports-18574ecda928258600a0eef0c79eb796adcca1c0.tar.gz
ports-18574ecda928258600a0eef0c79eb796adcca1c0.zip
Notes
Diffstat (limited to 'sysutils/coreutils/Makefile')
-rw-r--r--sysutils/coreutils/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index c78fc3e463df..36aa80e22db8 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= coreutils
-PORTVERSION= 8.12
+PORTVERSION= 8.19
CATEGORIES= sysutils textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,7 +22,7 @@ GNU_CONFIGURE= yes
# bugs.freebsd.org/160060
CONFIGURE_ARGS= --program-prefix=g \
--program-transform-name=s/stat/nustat/
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" FORCE_UNSAFE_CONFIGURE=1
CPPFLAGS+= "-I${LOCALBASE}/include"
LICENSE= GPLv3
@@ -50,20 +50,21 @@ MAN1= gbasename.1 gcat.1 gchcon.1 gchgrp.1 gchmod.1 gchown.1 gchroot.1 \
gusers.1 gvdir.1 gwc.1 gwho.1 gwhoami.1 gyes.1 gbase64.1 gsha224sum.1 \
gsha256sum.1 gsha384sum.1 gsha512sum.1 gshuf.1 gnproc.1
-OPTIONS= GMP "Build with GNU Multiple Precision Arithmetic Library" off
+OPTIONS_DEFINE= GMP NLS
+OPTIONS_DEFAULT=NLS
.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
-.if defined(WITH_GMP)
-LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
+.if ${PORT_OPTIONS:MGMP}
+LIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp
.else
CONFIGURE_ARGS+=--without-gmp
.endif