openbsd-ports/devel/binutils/Makefile

39 lines
690 B
Makefile

COMMENT = GNU binary utilities
DISTNAME = binutils-2.40
EXTRACT_SUFX = .tar.bz2
REVISION = 0
CATEGORIES = devel
HOMEPAGE = https://sourceware.org/binutils/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c z zstd
LIB_DEPENDS += archivers/zstd
MASTER_SITES = ${MASTER_SITE_GNU:=binutils/}
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --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>