1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/Mk/Uses/ada.mk
John Marino 5feebd9c74 Replace John Marino email address with FreeBSD version
While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.

Approved by:	bapt (mentor)
2013-07-12 13:40:50 +00:00

28 lines
621 B
Makefile

# $FreeBSD$
#
# Establish Ada-capable compiler as a build dependency
#
# MAINTAINER: marino@FreeBSD.org
#
# Feature: ada
# Usage: USES=ada
# Valid ARGS: does not require args
.if !defined(_INCLUDE_USES_ADA_MK)
_INCLUDE_USES_ADA_MK= yes
.if defined(ada_ARGS)
IGNORE= USES=ada does not require args
.endif
CC= ada
BUILD_DEPENDS+= ${LOCALBASE}/gcc-aux/bin/ada:${PORTSDIR}/lang/gcc-aux
MAKE_ENV+= PATH=${LOCALBASE}/gcc-aux/bin:${PATH}
MAKE_ENV+= ADA_PROJECT_PATH=${LOCALBASE}/lib/gnat
CONFIGURE_ENV+= PATH=${LOCALBASE}/gcc-aux/bin:${PATH}
CONFIGURE_ENV+= ADA_PROJECT_PATH=${LOCALBASE}/lib/gnat
.endif