diff options
| author | Chris Rees <crees@FreeBSD.org> | 2014-01-12 20:46:13 +0000 |
|---|---|---|
| committer | Chris Rees <crees@FreeBSD.org> | 2014-01-12 20:46:13 +0000 |
| commit | 364f7de4e1c96bb0a8e9e0daac0bbdf54b6ebfd4 (patch) | |
| tree | 6dfd07812f916ab24330ace1a30bc0c3bb2bfe6c /databases/postgresql-libpqxx/Makefile | |
| parent | acd94e936f1ccc0f7b88c846d02b0b1a81a60b39 (diff) | |
Notes
Diffstat (limited to 'databases/postgresql-libpqxx/Makefile')
| -rw-r--r-- | databases/postgresql-libpqxx/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile index 9cb1359ff4a7..dd768db868dd 100644 --- a/databases/postgresql-libpqxx/Makefile +++ b/databases/postgresql-libpqxx/Makefile @@ -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> |
