${PREFIX}/pgsql (old layout). Adjust compiler flags so that headers and
libraries are found in either case.
PR: ports/26756
Submitted by: Palle Girgensohn <girgen@partitur.se>
===
## make package
>> Checksum OK for PyGreSQL-2.1.tgz.
===> Extracting for py-PyGreSQL-2.1
===> py-PyGreSQL-2.1 depends on executable: python - found
===> py-PyGreSQL-2.1 depends on shared library: pq\.1\. - found
===> Patching for py-PyGreSQL-2.1
===> Configuring for py-PyGreSQL-2.1
test: syntax error
/bin/cp /usr/ports/databases/py-PyGreSQL/scripts/Makefile /usr/ports/databases/py-PyGreSQL/work
/bin/cp /usr/ports/databases/py-PyGreSQL/scripts/Makefile.in /usr/ports/databases/py-PyGreSQL/work
/bin/cp /usr/ports/databases/py-PyGreSQL/scripts/configure.in /usr/ports/databases/py-PyGreSQL/work
install -c -m 0555 /usr/ports/databases/py-PyGreSQL/scripts/install-sh /usr/ports/databases/py-PyGreSQL/work
install -c -m 0555 /usr/ports/databases/py-PyGreSQL/scripts/configure.local /usr/ports/databases/py-PyGreSQL/work/configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe -L/usr/local/lib/python1.5/config -L/usr/local/pgsql/lib) works... yes
checking whether the C compiler (cc -O2 -pipe -L/usr/local/lib/python1.5/config -L/usr/local/pgsql/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for python... /usr/local/bin/python
checking for pow in -lm... yes
checking for read_history in -lreadline... yes
checking for crypt in -lcrypt... yes
checking for PyArg_Parse in -lpython1.5... no
configure: error: The Python 1.5 library could not be found.
*** Error code 1
:
===
Note the "test: syntax error" in the first line output from configure.
Satoshi