Summary: | dev-db/postgis does not respect AR | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | New packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-geosciences |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 |
Description
Agostino Sarubbo
2013-04-03 17:40:30 UTC
# grep cpp postgis-2.0.3:20130407-094730.log checking for cpp... /usr/bin/cpp SQL preprocessor: /usr/bin/cpp -traditional-cpp -P /usr/bin/cpp -traditional-cpp -P -I../libpgcommon postgis.sql.in.c | grep -v '^#' > postgis.sql.in /usr/bin/cpp -traditional-cpp -P -I../libpgcommon legacy.sql.in.c | grep -v '^#' > legacy.sql.in /usr/bin/cpp -traditional-cpp -P -I../libpgcommon legacy_minimal.sql.in.c | grep -v '^#' > legacy_minimal.sql.in /usr/bin/cpp -traditional-cpp -P -I../../postgis/ -I../../ rtpostgis.sql.in.c | grep -v '^#' > rtpostgis.sql.in /usr/bin/cpp -traditional-cpp -P -I../../postgis/ -I../../ rtpostgis_drop.sql.in.c | grep -v '^#' > rtpostgis_drop.sql.in /usr/bin/cpp -traditional-cpp -P -I../../postgis/ -I../../ rtpostgis_upgrade_cleanup.sql.in.c | grep -v '^#' > rtpostgis_upgrade_cleanup.sql.in /usr/bin/cpp -traditional-cpp -P -I../../postgis/ -I../../ rtpostgis_legacy.sql.in.c | grep -v '^#' > rtpostgis_legacy.sql.in /usr/bin/cpp -traditional-cpp -P topology.sql.in.c | grep -v '^#' > topology.sql.in /usr/bin/cpp -traditional-cpp -P topology_drop_before.sql.in.c | grep -v '^#' > topology_drop_before.sql.in /usr/bin/cpp -traditional-cpp -P topology_drop_after.sql.in.c | grep -v '^#' > topology_drop_after.sql.in Those are SQL files and the CPP is called with a separate variable -- $(SQLPP) instead of $(CPP) -- with specific arguments to produce them. Those SQL files are not further compiled into anything else. The build system doesn't override/ignore CPP{,FLAGS}. They did set AR instead of ARFLAGS in one Makefile. Fixed in 2.1.0. |