ports/175783: [PATCH] databases/postgresql92-server: Add ${PTHREAD_LIBS} to LDFLAGS
Li-Wen Hsu
lwhsu at FreeBSD.org
Sat Feb 2 17:30:00 UTC 2013
>Number: 175783
>Category: ports
>Synopsis: [PATCH] databases/postgresql92-server: Add ${PTHREAD_LIBS} to LDFLAGS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 02 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Li-Wen Hsu
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lwbsd.cs.nctu.edu.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Thu Dec 27 15:07:23 CST 2012
>Description:
- Add ${PTHREAD_LIBS} to LDFLAGS, this makes plv8 [1] extension work [2]
- While here, fix some portlint errors.
[1] http://pgxn.org/dist/plv8/
[2] http://code.google.com/p/plv8js/issues/detail?id=34
Please note that I haven't tested on other versions PostgreSQL,
but I guess they may need same fix.
Port maintainer (pgsql at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- postgresql-server-9.2.2_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/postgresql92-server/Makefile ./Makefile
--- /usr/ports/databases/postgresql92-server/Makefile 2013-01-23 02:44:30.000000000 +0800
+++ ./Makefile 2013-02-03 01:22:57.161960435 +0800
@@ -1,9 +1,9 @@
# Created by: Marc G. Fournier <scrappy at FreeBSD.org>
-# $FreeBSD: ports/databases/postgresql92-server/Makefile,v 1.268 2013/01/22 18:44:30 svnexp Exp $
+# $FreeBSD: head/databases/postgresql92-server/Makefile 310833 2013-01-22 18:32:00Z crees $
PORTNAME?= postgresql
DISTVERSION?= 9.2.2
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= databases
MASTER_SITES= PGSQL
MASTER_SITE_SUBDIR= source/v${DISTVERSION:S,beta,.0&,}
@@ -43,7 +43,7 @@
PG_GROUP= pgsql
PG_UID= 70
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
INCLUDES+= -I${LOCALBASE}/include
CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \
--with-includes=${PREFIX}/include \
@@ -80,10 +80,10 @@
.if !defined(SLAVE_ONLY)
OPTIONS_DEFINE+= NLS DTRACE PAM LDAP GSSAPI OPTIMIZED_CFLAGS XML TZDATA DEBUG KRB5
-OPTIONS_SINGLE= KRB5
-OPTIONS_SINGLE_KRB5= MIT_KRB5 HEIMDAL_KRB5
+OPTIONS_SINGLE= KRB5
+OPTIONS_SINGLE_KRB5= MIT_KRB5 HEIMDAL_KRB5
-KRB5_DESC= Build with kerberos provider support
+KRB5_DESC= Build with kerberos provider support
NLS_DESC= Use internationalized messages
DTRACE_DESC= Build with DTrace probes (server only)
PAM_DESC= Build with PAM Support
--- postgresql-server-9.2.2_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list