1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349205
4 changed files with 16 additions and 0 deletions

View File

@ -32,6 +32,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
post-patch:
@${REINPLACE_CMD} -e '/for Object_Dir/d' \
${WRKSRC}/src-in/apq-mysql.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 \

View File

@ -37,6 +37,10 @@ post-patch:
${RM} ${WRKSRC}/src/*.orig
${REINPLACE_CMD} -e 's|"-march=x86-64",||g' -e '/for Object_Dir/d' \
${WRKSRC}/gnat/apq-odbc.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 \

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 \

View File

@ -32,6 +32,10 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/for Object_Dir/d' ${WRKSRC}/gnat/apq.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 \