Skip site navigation (1)Skip section navigation (2)
Date:      6 Jan 2003 09:27:24 -0000
From:      Alex Rodioukov <simuran@shaw.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alex Rodioukov <simuran@shaw.ca>
Subject:   ports/46794: Updated port: databases/py-psycopg
Message-ID:  <20030106092724.14602.qmail@gurudom.ramax.com>

next in thread | raw e-mail | index | archive | help

>Number:         46794
>Category:       ports
>Synopsis:       Updated port: databases/py-psycopg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 06 01:30:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Rodioukov
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netopia.io.sys 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Feb 4 13:21:59 MST 2002 root@bismark.io.sys:/usr/obj/usr/src/sys/NETOPIA i386

>Description:
This update fixes the py-psycopg build on systems with latest postgresql7
port installed (7.3.1). Included shar should overwrite files/patch-configure

PORTREVISION bumped.

>How-To-Repeat:
>Fix:
diff -ruN Makefile.orig Makefile
--- Makefile.orig	Mon Jan  6 02:11:01 2003
+++ Makefile	Mon Jan  6 02:00:56 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	psycopg
 PORTVERSION=	1.0.13
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	http://initd.org/pub/software/psycopg/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files
#	files/patch-configure
#
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-configure
sed 's/^X//' >files/patch-configure << 'END-of-files/patch-configure'
X--- configure.orig	Mon Jan  6 02:06:33 2003
X+++ configure	Mon Jan  6 02:07:07 2003
X@@ -1316,11 +1316,11 @@
X 
X echo $ac_n "checking PostgreSQL type catalog""... $ac_c" 1>&6
X echo "configure:1319: checking PostgreSQL type catalog" >&5
X-if test -d $PGSQLDIR/catalog ; then
X-  PGSQLTYPES="$PGSQLDIR/catalog/pg_type.h"
X+if test -d $PGSQLDIR/postgresql/catalog ; then
X+  PGSQLTYPES="$PGSQLDIR/postgresql/catalog/pg_type.h"
X else
X-  if test -d $PGSQLDIR/server/catalog ; then
X-    PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h"
X+  if test -d $PGSQLDIR/postgresql/server/catalog ; then
X+    PGSQLTYPES="$PGSQLDIR/postgresql/server/catalog/pg_type.h"
X   fi
X fi
X test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; }
END-of-files/patch-configure
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106092724.14602.qmail>