2002-04-01 19:25:14 +02:00
|
|
|
# New ports collection makefile for: m6811-gcc
|
1996-08-01 21:54:21 +02:00
|
|
|
# Date created: Thu Sep 14 11:10:01 CDT 1995
|
2002-04-01 19:25:14 +02:00
|
|
|
# Whom: erich@FreeBSD.org, jake@FreeBSD.org
|
1996-08-01 21:54:21 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1996-08-01 21:54:21 +02:00
|
|
|
#
|
|
|
|
|
2002-04-01 19:25:14 +02:00
|
|
|
PORTNAME= gcc
|
2002-04-03 08:26:53 +02:00
|
|
|
PORTVERSION= 2.95.3
|
1996-08-01 21:54:21 +02:00
|
|
|
CATEGORIES= devel
|
2002-04-01 19:25:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= gcc
|
|
|
|
PKGNAMEPREFIX= m6811-
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2002-06-09 13:26:51 +02:00
|
|
|
PATCH_SITES= http://stephane.carrez.free.fr/snapshots/
|
2002-04-03 08:26:53 +02:00
|
|
|
PATCHFILES= ${PORTNAME}-${PORTVERSION}-m68hc1x-20010922.diffs.gz
|
2002-04-01 19:25:14 +02:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2003-02-23 12:21:37 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= The gcc-2.95.2 cross-compiler for the 6811
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2002-04-01 19:25:14 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/m6811-elf-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
|
|
|
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2002-09-17 07:32:32 +02:00
|
|
|
# Configuration alpha-unknown-freebsdelf not supported
|
2002-12-15 09:27:46 +01:00
|
|
|
# Configuration sparc64-unknown-freebsdelf not supported
|
|
|
|
# compilation stops with intermal compiler errors.
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-05-19 05:41:11 +02:00
|
|
|
MANUAL_PACKAGE_BUILD= Path problem to autoheader on bento
|
2002-09-17 07:32:32 +02:00
|
|
|
|
2002-04-01 19:25:14 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
HAS_CONFIGURE= yes
|
2003-01-11 00:37:16 +01:00
|
|
|
.if defined(_CPUCFLAGS) && !empty(_CPUCFLAGS)
|
2002-12-24 10:47:20 +01:00
|
|
|
CFLAGS:= ${CFLAGS:S/${_CPUCFLAGS}//g}
|
2003-01-11 00:37:16 +01:00
|
|
|
.endif
|
2002-04-01 19:25:14 +02:00
|
|
|
PLIST_SUB= GCC_VER=${PORTVERSION}
|
2003-01-14 16:28:44 +01:00
|
|
|
BREAKS_IF_PEDANTIC= yes
|
2002-04-01 19:25:14 +02:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \
|
|
|
|
--program-prefix=m6811-elf-
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2002-04-01 19:25:14 +02:00
|
|
|
MAN1= m6811-elf-g++.1 m6811-elf-g77.1 m6811-elf-gcc.1 cccp.1
|
1996-08-01 21:54:21 +02:00
|
|
|
|
2002-04-03 08:26:53 +02:00
|
|
|
post-patch:
|
2002-06-16 17:03:10 +02:00
|
|
|
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed
|
|
|
|
${SED} -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" \
|
|
|
|
${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in
|
2002-04-03 08:26:53 +02:00
|
|
|
|
1996-08-01 21:54:21 +02:00
|
|
|
.include <bsd.port.mk>
|