From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 14 09:20:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B211D106568D for ; Thu, 14 Jan 2010 09:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 74C288FC1E for ; Thu, 14 Jan 2010 09:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E9K4ai006564 for ; Thu, 14 Jan 2010 09:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0E9K48W006563; Thu, 14 Jan 2010 09:20:04 GMT (envelope-from gnats) Resent-Date: Thu, 14 Jan 2010 09:20:04 GMT Resent-Message-Id: <201001140920.o0E9K48W006563@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC5AF1065670 for ; Thu, 14 Jan 2010 09:17:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D13678FC14 for ; Thu, 14 Jan 2010 09:17:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0E9HRRQ015998 for ; Thu, 14 Jan 2010 09:17:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0E9HRxZ015997; Thu, 14 Jan 2010 09:17:27 GMT (envelope-from nobody) Message-Id: <201001140917.o0E9HRxZ015997@www.freebsd.org> Date: Thu, 14 Jan 2010 09:17:27 GMT From: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/142820: 20080111.freebsd.org@ab.ote.we.lv X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 09:20:04 -0000 >Number: 142820 >Category: ports >Synopsis: 20080111.freebsd.org@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@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@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 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: