mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
44 lines
757 B
Makefile
44 lines
757 B
Makefile
COMMENT = GNU binary utilities
|
|
|
|
# keep version synchronized with devel/gas
|
|
V = 2.45.1
|
|
DISTNAME = binutils-${V}
|
|
REVISION = 4
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://sourceware.org/binutils/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
WANTLIB += c z zstd
|
|
|
|
LIB_DEPENDS += archivers/zstd
|
|
RUN_DEPENDS += devel/gas>=${V}
|
|
|
|
SITES = ${SITE_GNU:=binutils/}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += --disable-gas \
|
|
--disable-gprof \
|
|
--disable-ld \
|
|
--disable-libctf \
|
|
--disable-nls \
|
|
--disable-install-libbfd \
|
|
--program-prefix=g \
|
|
--without-msgpack \
|
|
--with-system-zlib
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
post-install:
|
|
@rm ${PREFIX}/info/bfd.info
|
|
@rm -rf ${PREFIX}/*-unknown-openbsd${OSREV}
|
|
|
|
.include <bsd.port.mk>
|