aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2001-04-25 13:20:00 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2001-04-25 13:20:00 +0000
commit6b71d907b1fec0bc6c333f9420c34670af91b6dc (patch)
treef4fca4147a8a948660c194ed96acc53012259f44 /databases
parent5306c9a613834315635b3e8fd35ed5a4ef35d918 (diff)
downloadports-6b71d907b1fec0bc6c333f9420c34670af91b6dc.tar.gz
ports-6b71d907b1fec0bc6c333f9420c34670af91b6dc.zip
PostGreSQL 7.1 can install in two places, either ${PREFIX} (hier(7)) or
${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>
Notes
Notes: svn path=/head/; revision=41893
Diffstat (limited to 'databases')
-rw-r--r--databases/py-PyGreSQL/files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-PyGreSQL/files/Makefile b/databases/py-PyGreSQL/files/Makefile
index 3ebb172d0424..0d7661c9f5f2 100644
--- a/databases/py-PyGreSQL/files/Makefile
+++ b/databases/py-PyGreSQL/files/Makefile
@@ -15,12 +15,12 @@ clean:
_pgmodule.so: pgmodule.o
${LD} -Bshareable -lc_r -L${PYTHON_LIBDIR}/config \
- -l${PYTHON_VERSION} -L${PREFIX}/lib -lpq \
+ -l${PYTHON_VERSION} -L${PREFIX}/lib -L${PREFIX}/pgsql/lib -lpq \
${.ALLSRC} -o ${.TARGET}
pgmodule.o: pgmodule.c
${CC} -c -I${PREFIX}/include/${PYTHON_VERSION} \
- -I${PREFIX}/include/pgsql ${.ALLSRC}
+ -I${PREFIX}/include/pgsql -I${PREFIX}/pgsql/include ${.ALLSRC}
.py.pyc:
${SETENV} PYTHONPATH=${.CURDIR} ${PYTHON} -c 'import ${.IMPSRC:.py=}'