# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
maintainers {yan12125 @yan12125} openmaintainer
description GNU File, Shell, and Text utilities
The GNU Core Utilities are the basic file, shell, and text \
manipulation utilities of the GNU operating system. These are the \
core utilities which are expected to exist on every operating \
system. Previously these utilities were offered as three individual \
sets of GNU utilities, fileutils, shellutils, and textutils. Those \
three have been combined into a single set of utilities called the \
homepage https://www.gnu.org/software/${name}/
checksums rmd160 f672a6e3212d906555ba262edefb785c48badc70 \
sha256 ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd \
# fix build on older OSs (e.g., OSX 10.5); won't hurt newer ones
patchfiles-append patch-fix-strtod.c.diff
configure.args --disable-silent-rules \
# Bypass year 2038 awareness code that causes the universal variant to fail.
# Whether deliberately or not, some users run MacPorts as root without privilege dropping.
configure.env-append FORCE_UNSAFE_CONFIGURE=1
# help2man: can't get `--help' info from man/hostid.td/hostid
if {[file exists ${destroot}${prefix}/share/info/dir]} {
delete ${destroot}${prefix}/share/info/dir
if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
delete ${destroot}${prefix}/lib/charset.alias