blob: aaa2d5425c89327eb73fc75d362e97057e5b7332 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: m6811-gcc
# Date created: Thu Sep 14 11:10:01 CDT 1995
# Whom: erich@FreeBSD.org, jake@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= gcc
PORTVERSION= 2.95.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gcc
PKGNAMEPREFIX= m6811-
PATCH_SITES= http://stephane.carrez.free.fr/snapshots/
PATCHFILES= ${PORTNAME}-${PORTVERSION}-m68hc1x-20010922.diffs.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= dinoex@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/bin/m6811-elf-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
# Configuration alpha-unknown-freebsdelf not supported
# Configuration sparc64-unknown-freebsdelf not supported
# compilation stops with intermal compiler errors.
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
HAS_CONFIGURE= yes
CFLAGS:= ${CFLAGS:S/${_CPUCFLAGS}//g}
PLIST_SUB= GCC_VER=${PORTVERSION}
CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \
--program-prefix=m6811-elf-
MAN1= m6811-elf-g++.1 m6811-elf-g77.1 m6811-elf-gcc.1 cccp.1
post-patch:
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed
${SED} -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" \
${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|