ports/61194: [MAINTAINER] databases/py23-PyGreSQL: fix build error

Palle Girgensohn girgen at pingpong.net
Sun Jan 11 05:40:23 UTC 2004


>Number:         61194
>Category:       ports
>Synopsis:       [MAINTAINER] databases/py23-PyGreSQL: fix build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 10 21:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
Ping Pong AB
>Environment:
System: FreeBSD palle.girgensohn.se 4.9-RELEASE FreeBSD 4.9-RELEASE #6: Tue Nov  4 22:56:29 CET
>Description:
The PyGreSQL project seems to be in some sort limbo here; they removed
the code from the main pg distro but haven't found a new home. Until
this happens, use the postgresql-7.3.x tarballs, even for pg-7.4.x.
This way we have a distribution, and we can build it. Hooray :)

This PR depends on my latest PR about postgresql73.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- py23-PyGreSQL-7.3.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/py-PyGreSQL/Makefile,v
retrieving revision 1.37
diff -u -u -r1.37 Makefile
--- Makefile	4 Sep 2003 13:32:30 -0000	1.37
+++ Makefile	11 Jan 2004 05:25:53 -0000
@@ -4,18 +4,11 @@
 #
 # $FreeBSD: ports/databases/py-PyGreSQL/Makefile,v 1.37 2003/09/04 13:32:30 osa Exp $
 #
-POSTGRESQL_PORT?=	databases/postgresql7
 
 PORTNAME=	PyGreSQL
-PORTVERSION!=	cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION
-PORTREVISION?=	0
+PORTREVISION=	0
 CATEGORIES=	databases python
-MASTER_SITES=	${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR!=	cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES!=	cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V DISTFILES
-DIST_SUBDIR=	postgresql
-WRKSRC=		${WRKDIR}/postgresql-${PORTVERSION}
 
 MAINTAINER=	girgen at pingpong.net
 COMMENT=	A Python interface to PostgreSQL, including a DP-API 2.0 wrapper
@@ -24,10 +17,16 @@
 RUN_DEPENDS=	${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
 LIB_DEPENDS=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
 
-MD5_FILE=	${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo
+POSTGRESQL_PORT?=	databases/postgresql7
+POSTGRESQL_SUBPORT=YES
+
+WRKSRC=		${WRKDIR}/postgresql-${PORTVERSION}
+
+# Th PyGreSQL dist file is nowhere to be found, but exists in
+# postgresql-7.3 distribution so do not be alarmed if you use
+# a newer version of postgresql
+.include <${.CURDIR}/../postgresql73/Makefile>
 
-USE_GMAKE=	YES
-GNU_CONFIGURE=	YES
 USE_PYTHON=	yes
 CONFIGURE_ARGS=	--with-python --prefix=${PREFIX}
 MAKE_ARGS+=	-C src/interfaces/python
--- py23-PyGreSQL-7.3.5.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list