1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/devel/libbfd/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

44 lines
1.4 KiB
Makefile

# Created by: Joerg Wunsch <joerg@FreeBSD.org>
# $FreeBSD$
PORTNAME= libbfd
PORTVERSION= 2.19.1
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/binutils/releases
DISTNAME= binutils-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
COMMENT= Universal BFD library from GNU binutils
CONFLICTS= mingw-binutils-[0-9]* binutils-[0-9]*
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}/bfd
USES= libtool tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-install-libbfd \
--disable-nls \
--enable-shared \
--enable-targets=all \
--disable-werror
CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
INFO= bfd
BROKEN_aarch64= Fails to configure: machine aarch64-portbld not recognized
BROKEN_armv6= Fails to configure: BFD does not support target armv6-portbld-freebsd12.0
BROKEN_armv7= Fails to configure: BFD does not support target armv7-portbld-freebsd12.0
BROKEN_mips64= Fails to configure: BFD does not support target mips64-portbld-freebsd12.0
pre-configure:
# Configure and build pic version of libiberty
(cd ${WRKSRC}/../libiberty && \
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" CPP="${CPP}" \
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
LIBS="${LIBS}" ${CONFIGURE_ENV} ./configure \
${CONFIGURE_ARGS} --build=${CONFIGURE_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS})
.include <bsd.port.mk>