diff options
-rw-r--r-- | databases/py-psycopg/Makefile | 3 | ||||
-rw-r--r-- | databases/py-psycopg/distinfo | 2 | ||||
-rw-r--r-- | databases/py-psycopg/files/patch-configure | 18 |
3 files changed, 20 insertions, 3 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile index 7e1c403a0af1..dcc9053718fb 100644 --- a/databases/py-psycopg/Makefile +++ b/databases/py-psycopg/Makefile @@ -6,7 +6,7 @@ # PORTNAME= psycopg -PORTVERSION= 1.0.8 +PORTVERSION= 1.0.11.1 CATEGORIES= databases python MASTER_SITES= http://initd.org/pub/software/psycopg/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,7 +26,6 @@ ALL_TARGET= sharedmods CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \ --with-postgres-libraries=${LOCALBASE}/lib \ - --with-postgres-includes=${LOCALBASE}/include/pgsql \ --with-postgres-includes=${LOCALBASE}/include \ --with-mxdatetime-includes=${DATETIME_INC} diff --git a/databases/py-psycopg/distinfo b/databases/py-psycopg/distinfo index 2d82e45f05e2..880343722a97 100644 --- a/databases/py-psycopg/distinfo +++ b/databases/py-psycopg/distinfo @@ -1 +1 @@ -MD5 (psycopg-1.0.8.tar.gz) = c31d6862fefb1ff07f911cd328e7d9a6 +MD5 (psycopg-1.0.11.1.tar.gz) = e2a10cdc7ba7485917531b3ab92554d2 diff --git a/databases/py-psycopg/files/patch-configure b/databases/py-psycopg/files/patch-configure new file mode 100644 index 000000000000..27198b055786 --- /dev/null +++ b/databases/py-psycopg/files/patch-configure @@ -0,0 +1,18 @@ +--- configure.orig Wed Sep 4 16:16:18 2002 ++++ configure Wed Sep 4 16:16:59 2002 +@@ -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/pgsql/catalog ; then ++ PGSQLTYPES="$PGSQLDIR/psql/catalog/pg_type.h" + else +- if test -d $PGSQLDIR/server/catalog ; then +- PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h" ++ if test -d $PGSQLDIR/psql/server/catalog ; then ++ PGSQLTYPES="$PGSQLDIR/psql/server/catalog/pg_type.h" + fi + fi + test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; } |