aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2023-09-15 21:29:20 +0000
committerCy Schubert <cy@FreeBSD.org>2023-09-16 01:59:58 +0000
commit90f14401dea714ea5558bd4ae0b704aeb0fecc9c (patch)
tree8c075046241fc7f593edd8dd23504ce7ff2508ae
parentf5d660fb047b6e04079a5012665d6074ab3e4331 (diff)
downloadports-90f14401dea714ea5558bd4ae0b704aeb0fecc9c.tar.gz
ports-90f14401dea714ea5558bd4ae0b704aeb0fecc9c.zip
devel/binutils: Disable randomly discovered libelf dependency
Users who build binutils from ports source will discover an implied dependency for elfutils should elfutils be installed at the time make is run. PORTREVISION is not bumped because this bug does not affect building of binary packages. The binary package never has an elfutils dependency because elfutils is never installed in the poudriere jail prior to building binutils. This avoids a gratuitous rebuild of binary packages when none is needed. PR: 273798
-rw-r--r--devel/binutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 7114e9a98614..d3cb86034632 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -36,6 +36,7 @@ CONFIGURE_ARGS+= --disable-werror \
--with-sysroot=/ \
--enable-x86-relax-relocations=no \
--with-zstd \
+ --without-libelf --without-debuginfod \
--enable-default-compressed-debug-sections-algorithm=zstd
MAKE_ARGS+= LIBDL="" V=1
MAKE_ENV+= ac_cv_func_sbrk=0