openbsd-ports/devel/arm-elf/newlib/Makefile

31 lines
723 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2011/11/01 19:22:24 naddy Exp $
COMMENT= newlib for arm-elf cross-development
DISTNAME= newlib-1.18.0
BROKEN-amd64 = as: unrecognized option -mfpu=softfpa
HOMEPAGE= http://sourceware.org/newlib/
MASTER_SITES= ftp://sources.redhat.com/pub/newlib/
EXTRACT_SUFX= .tar.gz
BUILD_DEPENDS= devel/arm-elf/binutils \
${RUN_DEPENDS}
2010-11-15 14:45:56 -05:00
RUN_DEPENDS= devel/arm-elf/gcc
# cope with user settings in /etc/mk.conf
MAKE_FLAGS= CFLAGS="-I${LOCALBASE}/include"
USE_GMAKE= Yes
2010-10-22 11:32:33 -04:00
USE_GROFF= No
CONFIGURE_ARGS+=--enable-interwork \
--enable-multilib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/newlib
${INSTALL_DATA} ${WRKDIST}/COPYING.NEWLIB \
${PREFIX}/share/doc/newlib
.include <bsd.port.mk>