ports/69960: [PATCH] update databases/postgresql-libpqxx to 2.2.7 and fix a wrong pkg-config specification position

Jie Gao gaoj at cpsc.ucalgary.ca
Tue Aug 3 18:00:41 UTC 2004


>Number:         69960
>Category:       ports
>Synopsis:       [PATCH] update databases/postgresql-libpqxx to 2.2.7 and fix a wrong pkg-config specification position
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 03 18:00:39 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jie Gao
>Release:        FreeBSD 5.2-delphij-20040801 i386
>Organization:
>Environment:
System: FreeBSD aibsd-current.cpsc.ucalgary.ca 5.2-delphij-20040801 FreeBSD 5.2-delphij-20040801 #0: Sat Jul 31 19:08:12 MDT 2004 root at aibsd-current.cpsc.ucalgary.ca:/usr/obj/usr/src/sys/AIBSD i386


	
>Description:
	
The port databases/postgresql-libpqxx has a new stable version 2.2.7. And the 
current port installs libpqxx.pc to a wrong place (lib/libdata/pkgconfig), 
which should be libdata/pkgconfig.

>How-To-Repeat:
	
Install the port databases/postgresql-libpqxx
>Fix:

	
Apply the patch below to the port directory

--- patch-postgresql-libpqxx begins here ---
diff -ruN postgresql-libpqxx.old/Makefile postgresql-libpqxx/Makefile
--- postgresql-libpqxx.old/Makefile	Fri Jul  9 11:42:03 2004
+++ postgresql-libpqxx/Makefile	Tue Aug  3 11:03:18 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libpqxx
-PORTVERSION=	2.2.3
+PORTVERSION=	2.2.7
 CATEGORIES=	databases
 MASTER_SITES=	ftp://gborg.postgresql.org/pub/libpqxx/stable/
 PKGNAMEPREFIX=	postgresql-
diff -ruN postgresql-libpqxx.old/distinfo postgresql-libpqxx/distinfo
--- postgresql-libpqxx.old/distinfo	Wed Jun 23 16:19:23 2004
+++ postgresql-libpqxx/distinfo	Tue Aug  3 11:03:18 2004
@@ -1,2 +1,2 @@
-MD5 (postgresql/libpqxx-2.2.3.tar.gz) = 02d34b97dc77c51ef8c54eea6965fc91
-SIZE (postgresql/libpqxx-2.2.3.tar.gz) = 744455
+MD5 (postgresql/libpqxx-2.2.7.tar.gz) = 1027218388f64f62213c6c7e4111c3e9
+SIZE (postgresql/libpqxx-2.2.7.tar.gz) = 761117
diff -ruN postgresql-libpqxx.old/files/patch-Makefile.in postgresql-libpqxx/files/patch-Makefile.in
--- postgresql-libpqxx.old/files/patch-Makefile.in	Wed Jun 23 16:19:23 2004
+++ postgresql-libpqxx/files/patch-Makefile.in	Tue Aug  3 11:03:18 2004
@@ -5,7 +5,7 @@
  	stamp-h.in
  
 -pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(libdir)/libdata/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
  pkgconfig_DATA = libpqxx.pc
  bin_SCRIPTS = pqxx-config
  all: all-recursive
diff -ruN postgresql-libpqxx.old/pkg-plist postgresql-libpqxx/pkg-plist
--- postgresql-libpqxx.old/pkg-plist	Thu Jun 24 12:45:32 2004
+++ postgresql-libpqxx/pkg-plist	Tue Aug  3 11:34:26 2004
@@ -12,6 +12,8 @@
 include/pqxx/connection_base.hxx
 include/pqxx/connection_base.h
 include/pqxx/connectionitf.h
+include/pqxx/cursor
+include/pqxx/cursor.hxx
 include/pqxx/cursor.h
 include/pqxx/dbtransaction
 include/pqxx/dbtransaction.hxx
@@ -68,6 +70,5 @@
 lib/libpqxx.la
 lib/libpqxx.so
 lib/libpqxx-%%PORTVERSION%%.so
-lib/libdata/pkgconfig/libpqxx.pc
+libdata/pkgconfig/libpqxx.pc
 @dirrm include/pqxx
- at unexec rmdir %D/lib/libdata/pkgconfig 2>/dev/null || true
--- patch-postgresql-libpqxx ends here ---


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



More information about the freebsd-ports-bugs mailing list