Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 02:27:36 +0100 (CET)
From:      Palle Girgensohn <girgen@pingpong.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45946: update databases/p5-Pg for postgresql 7.3
Message-ID:  <200212030127.gB31RaYj068225@palle.girgensohn.se>

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

>Number:         45946
>Category:       ports
>Synopsis:       update databases/p5-Pg for postgresql 7.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 17:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen@pingpong.net>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
PING PONG
>Environment:
System: FreeBSD palle.girgensohn.se 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 29 17:21:22 CEST 2002     root@palle.girgensohn.se:/usr/local/obj/usr/src/sys/STORDATAN  i386


	
>Description:
The simple perl interface for postgresql. It is now again maintained
as a separate project at gborg.postgresql.org. Once again it has its
own version numbers, so I had to bump PORTEPOCH.
>How-To-Repeat:
	
>Fix:

cvs add databases/p5-Pg/distinfo

and apply this patch:

Index: p5-Pg/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Pg/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- p5-Pg/Makefile	19 Feb 2002 08:25:15 -0000	1.31
+++ p5-Pg/Makefile	1 Dec 2002 04:55:24 -0000
@@ -6,32 +6,23 @@
 #
 
 PORTNAME=	Pg
-POSTVERSION=	7.2
+PORTVERSION=	2.0.1
+PORTEPOCH=	1
 CATEGORIES=	databases perl5
+MASTER_SITES=	ftp://gborg.postgresql.org/pub/pgperl/stable/
 PKGNAMEPREFIX=	p5-
+DISTFILES=	pgperl-${PORTVERSION}${EXTRACT_SUFX}
+DIST_SUBDIR=	postgresql
 
-MAINTAINER=	girgen@partitur.se
-
-POSTGRESQL_SUBPORT=YES
-.include <${.CURDIR}/../postgresql7/Makefile>
+MAINTAINER=	girgen@pingpong.net
 
 LIB_DEPENDS=	pq.2:${PORTSDIR}/databases/postgresql7
 
 USE_PERL5=	yes
-
-CONFIGURE_ARGS=	--with-perl
-
 MAN3=		Pg.3
 MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+PERL_CONFIGURE=	YES
 
-MAKE_ARGS+=	-C src/interfaces/perl5
-MAKEFILE=	GNUmakefile
-
-post-patch:
-	cd ${WRKSRC}/src/interfaces/perl5 ;\
-	cp GNUmakefile GNUmakefile.old ;\
-	${SED} -e 's,\$$\$$abs_libpq_builddir,${LOCALBASE}/lib,; \
-		   s,Makefile\ libpq-all,Makefile,' \
-		 < GNUmakefile.old > GNUmakefile
+CONFIGURE_ENV=	POSTGRES_INCLUDE=${LOCALBASE}/include POSTGRES_LIB=${LOCALBASE}/lib
 
 .include <bsd.port.mk>
--- /dev/null	Sun Dec  1 06:08:30 2002
+++ p5-Pg/distinfo	Sun Dec  1 05:37:09 2002
@@ -0,0 +1 @@
+MD5 (postgresql/pgperl-2.0.1.tar.gz) = cb855d1a6d747ada99d6accaaf898d01
>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?200212030127.gB31RaYj068225>