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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user