APQ ports: apq, apq-mysql, apq-pgsql, apq-odbc

Without direction, GPRconfig will create a cgpr file at the standard
$PREFIX/lib/gnat repository.  This is the cause of the builder
failures because it touches a part of the userland it's not supposed to.

GPRconfig should be modified not to do this; it is never desirable.
In the meantime, the fix for APQ is to specify .cgpr targets which do
not exist so GPRconfig creates them there instead of $PREFIX/lib/gnat.

Reported by: swills
This commit is contained in:
John Marino
2014-03-26 01:39:57 +00:00
parent dad71c4cc3
commit bfd732afd7
4 changed files with 16 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ post-patch:
${RM} ${WRKSRC}/src/*.orig
@${REINPLACE_CMD} -e '/for Object_Dir/d' \
${WRKSRC}/src-in/apq-postgresql.gpr.in
${REINPLACE_CMD} -e 's|processors=2|gprbuild_params="--autoconf=apq.cgpr"|' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|-ws|-ws --autoconf=dummy.cgpr|' \
${WRKSRC}/scripts/buildutil.sh
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \