Bug 185591 - [port-update] databases/postgresql-libpqxx updated to version 4.0.1 and supporting staging
Summary: [port-update] databases/postgresql-libpqxx updated to version 4.0.1 and suppo...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 20:10 UTC by Bartek Rutkowski
Modified: 2014-01-12 20:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.28 KB, patch)
2014-01-08 20:10 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer freebsd_triage 2014-01-08 20:10:00 UTC
This is update of databases/postgresql-libpqxx port to version 4.0.1 that has fixes for C++ support and supports staging of the port.

Fix: Patch attached with submission follows:
How-To-Repeat: Patch the port, build port/package, test, commit.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-08 20:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgsql

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Chris Rees freebsd_committer freebsd_triage 2014-01-08 20:17:08 UTC
Responsible Changed
From-To: pgsql->crees

I'll get this in shortly.  For future reference, you should use ${LN} 
-sf libpqxx-${PORTVERSION}.so 
${STAGEDIR}${PREFIX}/lib/libpqxx.so.${SOVERSION}, because otherwise your 
symlink breaks when STAGEDIR no longer exists :)  This also negates the 
USE_LDCONFIG change you've done.  Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-12 20:46:20 UTC
Author: crees
Date: Sun Jan 12 20:46:13 2014
New Revision: 339547
URL: http://svnweb.freebsd.org/changeset/ports/339547

Log:
  Update to 4.0.1
  
  Stage
  
  PR:		ports/185591
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Modified:
  head/databases/postgresql-libpqxx/Makefile
  head/databases/postgresql-libpqxx/distinfo

Modified: head/databases/postgresql-libpqxx/Makefile
==============================================================================
--- head/databases/postgresql-libpqxx/Makefile	Sun Jan 12 20:44:24 2014	(r339546)
+++ head/databases/postgresql-libpqxx/Makefile	Sun Jan 12 20:46:13 2014	(r339547)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libpqxx
-PORTVERSION=	4.0
+PORTVERSION=	4.0.1
 CATEGORIES=	databases
 MASTER_SITES=	http://pqxx.org/download/software/libpqxx/
 PKGNAMEPREFIX=	postgresql-
@@ -11,24 +11,27 @@ DIST_SUBDIR=	postgresql
 MAINTAINER=	pgsql@FreeBSD.org
 COMMENT=	New C++ interface for PostgreSQL
 
+LICENSE=	BSD3CLAUSE
+
 CONFLICTS=	postgresql-libpqxx-3.* postgresql-libpqxx3-3.*
 PORTSCOUT=	limit:^2\.
 
 USE_PGSQL=	yes
-USES=		gmake
+USE_PYTHON_BUILD=	yes
+USES=		gmake shebangfix
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 SOVERSION=	4
-PLIST_SUB=	PORTVERSION=${PORTVERSION} \
+PLIST_SUB=	PORTVERSION=${PORTVERSION:R} \
 		SOVERSION=${SOVERSION}
+SHEBANG_FILES=	${WRKSRC}/tools/splitconfig
 
 CONFIGURE_ARGS=	--enable-shared \
 		--disable-dependency-tracking
 
-NO_STAGE=	yes
 post-install:
 #	This is needed for ldconfig
-	${LN} -s ${PREFIX}/lib/libpqxx-${PORTVERSION}.so \
-		${PREFIX}/lib/libpqxx.so.${SOVERSION}
+	${LN} -sf libpqxx-${PORTVERSION}.so \
+		${STAGEDIR}${PREFIX}/lib/libpqxx.so.${SOVERSION}
 
 .include <bsd.port.mk>

Modified: head/databases/postgresql-libpqxx/distinfo
==============================================================================
--- head/databases/postgresql-libpqxx/distinfo	Sun Jan 12 20:44:24 2014	(r339546)
+++ head/databases/postgresql-libpqxx/distinfo	Sun Jan 12 20:46:13 2014	(r339547)
@@ -1,2 +1,2 @@
-SHA256 (postgresql/libpqxx-4.0.tar.gz) = b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed
-SIZE (postgresql/libpqxx-4.0.tar.gz) = 2631181
+SHA256 (postgresql/libpqxx-4.0.1.tar.gz) = 097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38
+SIZE (postgresql/libpqxx-4.0.1.tar.gz) = 1582532
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Chris Rees freebsd_committer freebsd_triage 2014-01-12 20:46:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!