Date: Tue, 2 Jul 2013 00:33:02 +0400 (MSK) From: Sevan Janiyan <venture37@geeklan.co.uk> To: FreeBSD-gnats-submit@freebsd.org Cc: pgsql@FreeBSD.org Subject: ports/180181: [PATCH] databases/postgresql92-server: Add pthread support option Message-ID: <201307012033.r61KX2ZZ098330@z29.zvq.me> Resent-Message-ID: <201307012040.r61Ke0B4006279@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180181 >Category: ports >Synopsis: [PATCH] databases/postgresql92-server: Add pthread support option >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: Mon Jul 01 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: FreeBSD 10.0-CURRENT amd64 >Organization: Dream Industries >Environment: System: FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r252362: Sat Jun 29 04:03:50 MSK >Description: An alternative to ports/175783, instead of making building with pthread support explicit, make it a selectable option which is off by default. While here also clean some errors reported by portlint. Port maintainer (pgsql@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- postgresql-server-9.2.4.patch begins here --- diff -ruN /usr/ports/databases/postgresql92-server/Makefile ./Makefile --- /usr/ports/databases/postgresql92-server/Makefile 2013-05-13 01:09:38.000000000 +0400 +++ ./Makefile 2013-07-01 22:40:55.657607594 +0400 @@ -79,11 +79,11 @@ .endif .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_DEFINE+= NLS DTRACE PAM LDAP GSSAPI OPTIMIZED_CFLAGS XML TZDATA DEBUG KRB5 PTHREAD +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 @@ -95,6 +95,7 @@ XML_DESC= Build with XML data type (server) TZDATA_DESC= Use internal timezone database (server) DEBUG_DESC= Builds with debugging symbols +PTHREAD_DESC= Build with pthread support # See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info OPTIONS_DEFINE+= ICU @@ -139,6 +140,10 @@ PLIST_SUB+= OSSP="@comment " .endif +.if ${PORT_OPTIONS:MPTHREAD} +LDFLAGS+= ${PTHREAD_LIBS} +.endif + .if !defined(SLAVE_ONLY) PATCH_DIST_STRIP=-p1 --- postgresql-server-9.2.4.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?201307012033.r61KX2ZZ098330>