1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 21:50:32 -04:00
ports/databases/py-psycopg/files/patch-configure
Tilman Keskinoz 77ee0ebeca Fix Port after postgres update
PR:		46794
Submitted by:	Alex Rodioukov <simuran@shaw.ca>
2003-01-08 11:44:18 +00:00

18 lines
742 B
Text

--- configure.orig Mon Jan 6 02:06:33 2003
+++ configure Mon Jan 6 02:07:07 2003
@@ -1316,11 +1316,11 @@
echo $ac_n "checking PostgreSQL type catalog""... $ac_c" 1>&6
echo "configure:1319: checking PostgreSQL type catalog" >&5
-if test -d $PGSQLDIR/catalog ; then
- PGSQLTYPES="$PGSQLDIR/catalog/pg_type.h"
+if test -d $PGSQLDIR/postgresql/catalog ; then
+ PGSQLTYPES="$PGSQLDIR/postgresql/catalog/pg_type.h"
else
- if test -d $PGSQLDIR/server/catalog ; then
- PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h"
+ if test -d $PGSQLDIR/postgresql/server/catalog ; then
+ PGSQLTYPES="$PGSQLDIR/postgresql/server/catalog/pg_type.h"
fi
fi
test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; }