bcaf25a8c8
There have been lots of missing CONFLICTS_INSTALL entries, either because conflicting ports were added without updating existing ports, due to name changes of generated packages, due to mis-understanding the format and semantics of the conflicts entries, or just due to typoes in package names. This patch is the result of a comparison of all files contained in the official packages with each other. This comparison was based on packages built with default options and may therefore have missed further conflicts with optionally installed files. Where possible, version numbers in conflicts entries have been generalized, some times taking advantage of the fact that a port cannot conflict with itself (due to logic in bsd.port.mk that supresses the pattern match result in that case). A few ports that set the conflicts variables depending on complex conditions (e.g. port options), have been left unmodified, despite probably containing outdated package names. These changes should only affect the installation of locally built ports, not the package building with poudriere. They should give an early indication of the install conflict in cases where currently the pkg command aborts an installation when it detects that an existing file would be overwritten, Approved by: portmgr (implicit)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
PORTNAME= coreutils
|
|
PORTVERSION= 8.32
|
|
CATEGORIES= sysutils textproc
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Free Software Foundation core utilities
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cpe gmake iconv perl5 charsetfix tar:xz
|
|
CPE_VENDOR= gnu
|
|
USE_PERL5= build # required for tests and man page generation
|
|
USE_LDCONFIG= yes
|
|
TEST_TARGET= check
|
|
|
|
GNU_CONFIGURE= yes
|
|
# A rather nasty hack to stop gnustat from conflicting with base gstat
|
|
# bugs.freebsd.org/160060
|
|
CONFIGURE_ARGS= --program-prefix=g \
|
|
--program-transform-name=s/stat/nustat/
|
|
CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
CONFLICTS_INSTALL= gdu geneweb gexpr rubygem-god # bin/gdu bin/gexpr bin/god bin/gwc
|
|
|
|
INFO= coreutils
|
|
|
|
OPTIONS_DEFINE= GMP NLS
|
|
OPTIONS_SUB= yes
|
|
GMP_LIB_DEPENDS= libgmp.so:math/gmp
|
|
GMP_CONFIGURE_WITH= gmp
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
post-build:
|
|
@${REINPLACE_CMD} -e "s/ lib / /g" ${WRKSRC}/Makefile
|
|
@${TOUCH} ${WRKSRC}/doc/coreutils.info
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
|
|
${STAGEDIR}${PREFIX}/libexec/coreutils/libstdbuf.so
|
|
|
|
.include <bsd.port.mk>
|