pkgsrc/lang/gnat-aux/options.mk
drochner 95daa6532e update to 20110325, from John Marino
changes:
-newer gcc snapshot
-add option to build c++ support (not enabled per default because
 the build fails due to something which looks like a command line
 length limitation on NetBSD)
2011-05-10 13:46:22 +00:00

36 lines
723 B
Makefile

# $NetBSD: options.mk,v 1.1 2011/05/10 13:46:22 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnat-aux
PKG_SUPPORTED_OPTIONS= ada cxx testada testcxx testgcc
PKG_SUGGESTED_OPTIONS= ada #cxx
.include "../../mk/bsd.options.mk"
#########################
## ADD LANGUAGE: Ada ##
#########################
.if !empty(PKG_OPTIONS:Mada)
LANGS+= ada
.endif
#########################
## ADD LANGUAGE: C++ ##
#########################
.if !empty(PKG_OPTIONS:Mcxx)
LANGS+= c++
.endif
#########################
## TESTSUITE SUPPORT ##
#########################
.if !empty(PKG_OPTIONS:Mtestada) \
|| !empty(PKG_OPTIONS:Mtestcxx) \
|| !empty(PKG_OPTIONS:Mtestgcc)
BUILD_DEPENDS+= dejagnu>=1.4:../../devel/dejagnu
.endif