Date: Sun, 3 Feb 2013 01:29:38 +0800 (CST) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: pgsql@FreeBSD.org Subject: ports/175783: [PATCH] databases/postgresql92-server: Add ${PTHREAD_LIBS} to LDFLAGS Message-ID: <20130202172938.47E59B3DAF@lwbsd.csie.net> Resent-Message-ID: <201302021730.r12HU0uD020812@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130202172938.47E59B3DAF>