blob: 5a6a1fb20f05fa4183e6139fbfd25b46cf9f64c2 (
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
|
# $FreeBSD$
#
# Establish Ada-capable compiler as a build dependency
#
# Feature: ada
# Usage: USES=ada
# Valid ARGS: 47
#
# MAINTAINER: marino@FreeBSD.org
.if !defined(_INCLUDE_USES_ADA_MK)
_INCLUDE_USES_ADA_MK= yes
CC= ada
. if ${ada_ARGS} == 47
BUILD_DEPENDS+= ${LOCALBASE}/gcc47-aux/bin/ada:${PORTSDIR}/lang/gcc47-aux
MAKE_ENV+= PATH=${LOCALBASE}/gcc47-aux/bin:${PATH}
CONFIGURE_ENV+= PATH=${LOCALBASE}/gcc47-aux/bin:${PATH}
. else
BUILD_DEPENDS+= ${LOCALBASE}/gcc-aux/bin/ada:${PORTSDIR}/lang/gcc-aux
MAKE_ENV+= PATH=${LOCALBASE}/gcc-aux/bin:${PATH}
CONFIGURE_ENV+= PATH=${LOCALBASE}/gcc-aux/bin:${PATH}
. endif
MAKE_ENV+= ADA_PROJECT_PATH=${LOCALBASE}/lib/gnat
CONFIGURE_ENV+= ADA_PROJECT_PATH=${LOCALBASE}/lib/gnat
.endif
|