mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
f46c312ac9
several programs are no longer included in default builds: chcon and runcon (unless SELinux is available; otherwise they are stub binaries only), kill and uptime (these can be reenabled by adding CONFIGURE_ARGS --enable-install-program=kill,uptime if needed).
40 lines
977 B
Makefile
40 lines
977 B
Makefile
COMMENT = file, shell and text manipulation utilities
|
|
|
|
DISTNAME = coreutils-9.10
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://www.gnu.org/software/coreutils/coreutils.html
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = c iconv intl pthread
|
|
|
|
SITES = ${SITE_GNU:=coreutils/}
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
LIB_DEPENDS = devel/gettext,-runtime
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --program-prefix=g \
|
|
--without-libgmp
|
|
# supply result to skip a test that will abort configure if run as root
|
|
CONFIGURE_ENV += gl_cv_func_mknod_works=no
|
|
|
|
PORTHOME = ${WRKDIR}
|
|
|
|
# Prevent conflicts with: id, gpr and god
|
|
post-install:
|
|
.for I in gid god gpr
|
|
mv "${PREFIX}/bin/$I" "${PREFIX}/bin/g$I"
|
|
mv "${PREFIX}/man/man1/$I.1" "${PREFIX}/man/man1/g$I.1"
|
|
.endfor
|
|
if test -f "${PREFIX}/libexec/coreutils/glibstdbuf.so"; then \
|
|
mv "${PREFIX}/libexec/coreutils/glibstdbuf.so" \
|
|
"${PREFIX}/libexec/coreutils/libstdbuf.so"; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|