aboutsummaryrefslogtreecommitdiffstats
path: root/devel/m6811-gcc/Makefile
blob: 958771d83691d7c126838339ca7a59e478af9412 (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
44
45
46
47
48
49
# 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
PORTREVISION=   1
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= ports@FreeBSD.org
COMMENT=    The gcc-2.95.2 cross-compiler for the 6811

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
MANUAL_PACKAGE_BUILD=   Path problem to autoheader on bento

USE_GMAKE=  yes
HAS_CONFIGURE=  yes
.if defined(_CPUCFLAGS) && !empty(_CPUCFLAGS)
CFLAGS:=    ${CFLAGS:S/${_CPUCFLAGS}//g}
.endif
PLIST_SUB=  GCC_VER=${PORTVERSION}
BREAKS_IF_PEDANTIC= yes
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>
7 11:28:18 +0800'>2016-05-071-4/+4 * Update to 5.0.5.jkim2016-02-161-4/+4 * Update to 5.0.4.jkim2015-12-181-4/+4 * Update to 5.0.3.jkim2015-11-041-4/+4 * Update to 5.0.2.jkim2015-09-241-4/+4 * Update LibreOffice to 5.0.1.jkim2015-09-021-4/+4 * Update to 4.3.7.jkim2015-04-261-4/+4 * - Update to 4.3.6.jkim2015-02-211-4/+4 * Update to 4.3.5.jkim2014-12-191-4/+4 * Update to 4.3.4.jkim2014-11-271-4/+4 * Update to 4.3.3.jkim2014-11-011-4/+4 * Update to 4.3.2.jkim2014-10-171-4/+4 * Update to 4.2.5.jkim2014-06-241-4/+4 * Update to libreoffice 4.2.4bapt2014-06-111-4/+4 * Update to 4.1.6.jkim2014-05-071-4/+4 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * - Update to 4.0.6.jkim2013-10-261-4/+4 * Update to 4.0.5.jkim2013-08-231-4/+4 * Update to 4.0.4.jkim2013-06-201-4/+4 * Update to 4.0.3.jkim2013-05-101-4/+4 * Update to 4.0.2.jkim2013-04-171-4/+4 * Update to 4.0.1.jkim2013-03-091-4/+4 * Update to 3.6.5.jkim2013-02-051-4/+4 * - Update to 3.5.7.jkim2012-10-271-4/+4 * - Update to 3.5.6.jkim2012-08-241-4/+4 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4