Changeset View
Changeset View
Standalone View
Standalone View
head/lang/gcc-aux/Makefile
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
# static compiler that supports C, C++, and Ada languages and then create | # static compiler that supports C, C++, and Ada languages and then create | ||||
# a new distfile in $WRKDIR/newbsd with the name following the pattern: | # a new distfile in $WRKDIR/newbsd with the name following the pattern: | ||||
# ada-bootstrap.$ARCH.$OPSYS.XY.tar.bz2. There is no need to "make install" | # ada-bootstrap.$ARCH.$OPSYS.XY.tar.bz2. There is no need to "make install" | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} == FreeBSD | .if ${OPSYS} == FreeBSD | ||||
MODERN_BINUTILS= yes | MODERN_BINUTILS= yes | ||||
. if ${OSVERSION} < 900000 | |||||
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.84.tar.bz2 | |||||
. else | |||||
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.100B.tar.bz2 | BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.100B.tar.bz2 | ||||
. endif | .endif | ||||
.endif | |||||
.if ${OPSYS} == DragonFly | .if ${OPSYS} == DragonFly | ||||
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.dragonfly.36A.tar.bz2 | BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.dragonfly.36A.tar.bz2 | ||||
.endif | .endif | ||||
.if defined(MODERN_BINUTILS) | .if defined(MODERN_BINUTILS) | ||||
# Apparently gcc 4.9 needs binutils 2.23 or greater to link Ada correctly | # Apparently gcc 4.9 needs binutils 2.23 or greater to link Ada correctly | ||||
USE_BINUTILS= yes | USE_BINUTILS= yes | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils | ||||
Show All 37 Lines | |||||
DISTFILES+= ${BOOTSTRAP_COMPILER}:boot | DISTFILES+= ${BOOTSTRAP_COMPILER}:boot | ||||
.endif | .endif | ||||
# for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1" | # for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1" | ||||
.if defined(PLUS_BOOTSTRAPS) | .if defined(PLUS_BOOTSTRAPS) | ||||
DISTFILES= \ | DISTFILES= \ | ||||
${IDENTIFICATION}.tar.bz2 \ | ${IDENTIFICATION}.tar.bz2 \ | ||||
ada-bootstrap.i386.dragonfly.36A.tar.bz2:boot \ | ada-bootstrap.i386.dragonfly.36A.tar.bz2:boot \ | ||||
ada-bootstrap.i386.freebsd.84.tar.bz2:boot \ | |||||
ada-bootstrap.i386.freebsd.100B.tar.bz2:boot \ | ada-bootstrap.i386.freebsd.100B.tar.bz2:boot \ | ||||
ada-bootstrap.x86_64.dragonfly.36A.tar.bz2:boot \ | ada-bootstrap.x86_64.dragonfly.36A.tar.bz2:boot \ | ||||
ada-bootstrap.x86_64.freebsd.84.tar.bz2:boot \ | |||||
ada-bootstrap.x86_64.freebsd.100B.tar.bz2:boot | ada-bootstrap.x86_64.freebsd.100B.tar.bz2:boot | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MFORT} && !${PORT_OPTIONS:MBOOTSTRAP} | .if ${PORT_OPTIONS:MFORT} && !${PORT_OPTIONS:MBOOTSTRAP} | ||||
LANGS+= fortran | LANGS+= fortran | ||||
#APPLY_DIFFS+= fortran | #APPLY_DIFFS+= fortran | ||||
EXTRA_CONFIG+= --enable-libquadmath | EXTRA_CONFIG+= --enable-libquadmath | ||||
.else | .else | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |