2597964706
1) Replace custom tarball with Adacore's GPL 2012 release 2) Update license to GPLv3 3) Remove lang/gnat-aux dependency 4) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency) 5) Update buildlink3.mk to require GPL 2012 version 6) Restore use of pkgsrc wrappers 7) Add Library_Option "-R" support which ignores all automatically generated rpaths* which point to the WRKOBJDIR. DESTDIR isn't supported by GPRBuild, so this rpath disabling is necessary to avoid references to work directories. * gcc and adalib rpaths are excluded with -R option. 8) This Library_Option "-R" matches the same modification added to lang/gcc-aux and lang/gnat-aux's project handler. 9) This modification is required to fix www/aws rpath issues which appears with recent changes to PKG_DEVELOPER=yes checks.
32 lines
979 B
Makefile
32 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.2 2012/07/08 20:08:42 marino Exp $
|
|
#
|
|
|
|
DISTNAME= gprbuild-aux-${SNAPSHOT}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://downloads.dragonlace.net/src/ \
|
|
http://dragonlace.mirrors.ada.cx/src/
|
|
DISTFILES= gprbuild-gpl-2012-src.tgz
|
|
|
|
MAINTAINER= draco@marino.st
|
|
HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gprbuild/
|
|
COMMENT= Adacore multi-language software build tool
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
SNAPSHOT= 20120510
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c ada
|
|
USE_TOOLS= gmake
|
|
MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
|
|
CONFIGURE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
|
|
WRKSRC= ${WRKDIR}/gprbuild-2012-src
|
|
|
|
SUBST_CLASSES+= xml
|
|
SUBST_STAGE.xml= pre-configure
|
|
SUBST_MESSAGE.xml= Edit compilers.xml to support lang/gcc-aux runtime
|
|
SUBST_FILES.xml= share/gprconfig/compilers.xml
|
|
SUBST_SED.xml= -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux,"
|
|
|
|
.include "../../textproc/xmlada/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|