aboutsummaryrefslogtreecommitdiff
path: root/devel/newlib-m68k/Makefile
blob: b91134a45e455006e2e90c8578b9bf1c5d192a5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:	m68k-newlib
# Date created:		7 July 1998
# Whom:			Jerry Hicks <jhicks@glenatl.glenayre.com>
#
# $FreeBSD$
#

PORTNAME=	newlib
PORTVERSION=	1.8.1
CATEGORIES=	devel
MASTER_SITES=	ftp://sourceware.cygnus.com/pub/newlib/
PKGNAMEPREFIX=	m68k

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	m68k-coff-gcc:${PORTSDIR}/devel/m68kgcc

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

TARGET=		m68k-coff

CONFIGURE_ARGS=	--target=${TARGET} --with-gnu-as --with-gnu-ld

do-build:
	(cd ${WRKSRC} && ${GMAKE} CFLAGS="-O -pipe")

.include <bsd.port.mk>