ports/142820: 20080111.freebsd.org at ab.ote.we.lv
Eugene M. Kim
20080111.freebsd.org at ab.ote.we.lv
Thu Jan 14 09:20:04 UTC 2010
>Number: 142820
>Category: ports
>Synopsis: 20080111.freebsd.org at ab.ote.we.lv
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 14 09:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Eugene M. Kim
>Release: 8.0-RELEASE
>Organization:
>Environment:
FreeBSD blue.the-7.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is a new port for libpqxx 3.0.2, submitted as a new port (rather than an update to the existing databases/postgresql-libpqxx port) because it is backward-incompatible with 2.x.
>How-To-Repeat:
N/A
>Fix:
Repo-copy (databases/postgresql-libpqxx -> databases/postgresql-libpqxx30), then apply the attached patch. A CONFLICT= line also needs to be added to the old port.
Patch attached with submission follows:
diff -urN databases/postgresql-libpqxx/Makefile databases/postgresql-libpqxx30/Makefile
--- databases/postgresql-libpqxx/Makefile 2009-01-30 12:17:24.000000000 -0800
+++ databases/postgresql-libpqxx30/Makefile 2010-01-14 01:00:16.000000000 -0800
@@ -6,8 +6,7 @@
#
PORTNAME= libpqxx
-PORTVERSION= 2.6.9
-PORTREVISION= 1
+PORTVERSION= 3.0.2
CATEGORIES= databases
MASTER_SITES= http://pqxx.org/download/software/libpqxx/
PKGNAMEPREFIX= postgresql-
@@ -16,14 +15,14 @@
MAINTAINER= girgen at FreeBSD.org
COMMENT= A new C++ interface for PostgreSQL
+CONFLICTS= postgresql-libpqxx-[12].*
+
USE_PGSQL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-PLIST_SUB= PORTVERSION=${PORTVERSION}
+PLIST_SUB= SHLIBVERSION=3.0
-CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
- --enable-shared \
- --with-postgres-include=${LOCALBASE}/include/postgresql
+CONFIGURE_ARGS= --enable-shared
.include <bsd.port.mk>
diff -urN databases/postgresql-libpqxx/distinfo databases/postgresql-libpqxx30/distinfo
--- databases/postgresql-libpqxx/distinfo 2007-02-05 23:59:46.000000000 -0800
+++ databases/postgresql-libpqxx30/distinfo 2010-01-13 21:36:29.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (postgresql/libpqxx-2.6.9.tar.gz) = 0b0c64af41dfdeea8556dc359994e1cb
-SHA256 (postgresql/libpqxx-2.6.9.tar.gz) = 2b2ef5dfb852667299e50727419075cf333bbbeffadaa398d96dc93bac6f7b6a
-SIZE (postgresql/libpqxx-2.6.9.tar.gz) = 1639557
+MD5 (postgresql/libpqxx-3.0.2.tar.gz) = 3baa257e851b773fa1d693bbe185a418
+SHA256 (postgresql/libpqxx-3.0.2.tar.gz) = de265ab5d397ace7596c3b6d19a0057ce2ba58477315acf9165b0a97facab6ca
+SIZE (postgresql/libpqxx-3.0.2.tar.gz) = 1565644
diff -urN databases/postgresql-libpqxx/files/patch-Makefile.in databases/postgresql-libpqxx30/files/patch-Makefile.in
--- databases/postgresql-libpqxx/files/patch-Makefile.in 2006-05-28 09:50:24.000000000 -0700
+++ databases/postgresql-libpqxx30/files/patch-Makefile.in 2010-01-13 23:09:57.000000000 -0800
@@ -1,9 +1,9 @@
---- Makefile.in~ Sat May 27 12:46:50 2006
-+++ Makefile.in Sun May 28 17:51:23 2006
-@@ -212,7 +212,7 @@
+--- Makefile.in 2009-08-14 10:16:35.000000000 -0700
++++ Makefile.in.new 2010-01-13 23:09:39.000000000 -0800
+@@ -226,7 +226,7 @@
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
+ stamp-h.in
-
- #includedir=$(prefix)/include
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
pkgconfig_DATA = libpqxx.pc
diff -urN databases/postgresql-libpqxx/files/patch-libpqxx.spec.in databases/postgresql-libpqxx30/files/patch-libpqxx.spec.in
--- databases/postgresql-libpqxx/files/patch-libpqxx.spec.in 1969-12-31 16:00:00.000000000 -0800
+++ databases/postgresql-libpqxx30/files/patch-libpqxx.spec.in 2010-01-13 21:38:24.000000000 -0800
@@ -0,0 +1,12 @@
+diff -urN libpqxx-3.0.2.dist/libpqxx.spec.in libpqxx-3.0.2/libpqxx.spec.in
+--- libpqxx.spec.in 2009-07-03 22:38:38.000000000 -0700
++++ libpqxx.spec.in.new 2010-01-13 21:24:41.000000000 -0800
+@@ -58,7 +58,7 @@
+ %files devel
+ %defattr(-, root, root)
+ %{_libdir}/*a
+-%{_libdir}/pkgconfig/libpqxx.pc
++%{_prefix}/libdata/pkgconfig/libpqxx.pc
+ %{_includedir}/*
+ %{_bindir}/pqxx-config
+
diff -urN databases/postgresql-libpqxx/pkg-plist databases/postgresql-libpqxx30/pkg-plist
--- databases/postgresql-libpqxx/pkg-plist 2007-02-05 23:59:46.000000000 -0800
+++ databases/postgresql-libpqxx30/pkg-plist 2010-01-14 00:54:41.000000000 -0800
@@ -3,7 +3,6 @@
include/pqxx/basic_connection.hxx
include/pqxx/binarystring
include/pqxx/binarystring.hxx
-include/pqxx/cachedresult.h
include/pqxx/compiler-internal-post.hxx
include/pqxx/compiler-internal-pre.hxx
include/pqxx/compiler-public.hxx
@@ -15,7 +14,6 @@
include/pqxx/connectionpolicy
include/pqxx/connectionpolicy.hxx
include/pqxx/cursor
-include/pqxx/cursor.h
include/pqxx/cursor.hxx
include/pqxx/dbtransaction
include/pqxx/dbtransaction.hxx
@@ -28,6 +26,8 @@
include/pqxx/libpq-forward.hxx
include/pqxx/nontransaction
include/pqxx/nontransaction.hxx
+include/pqxx/notify-listen
+include/pqxx/notify-listen.hxx
include/pqxx/pipeline
include/pqxx/pipeline.hxx
include/pqxx/pqxx
@@ -55,7 +55,8 @@
include/pqxx/trigger.hxx
include/pqxx/util
include/pqxx/util.hxx
-lib/libpqxx-%%PORTVERSION%%.so
+include/pqxx/version.hxx
+lib/libpqxx-%%SHLIBVERSION%%.so
lib/libpqxx.a
lib/libpqxx.la
lib/libpqxx.so
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list