openbsd-ports/devel/binutils/Makefile
fcambus 1e709f0a64 binutils: add fix for CVE-2022-38533 (heap buffer-overflow in strip).
From upstream commit log:

PR29482 - strip: heap-buffer-overflow

PR 29482
* coffcode.h (coff_set_section_contents): Sanity check _LIB.
2022-12-12 21:41:19 +00:00

37 lines
649 B
Makefile

COMMENT = GNU binary utilities
DISTNAME = binutils-2.39
REVISION = 0
CATEGORIES = devel
HOMEPAGE = https://sourceware.org/binutils/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c z
MASTER_SITES = ${MASTER_SITE_GNU:=binutils/}
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --disable-gas \
--disable-gprof \
--disable-ld \
--disable-libctf \
--disable-nls \
--disable-install-libbfd \
--program-prefix=g \
--with-system-zlib
USE_GMAKE = Yes
post-install:
@rm ${PREFIX}/info/bfd.info # Installed by devel/gdb
@rm -rf ${PREFIX}/*-unknown-openbsd${OSREV}
.include <bsd.port.mk>