Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2010 04:00:16 -0700 (PDT)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150433: DTrace support for postgres90-server
Message-ID:  <4c88be40.a8e8d80a.7a28.2db8@mx.google.com>
Resent-Message-ID: <201009091130.o89BU14h024760@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150433
>Category:       ports
>Synopsis:       DTrace support for postgres90-server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 09 11:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rui Paulo
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD freebsd-vm1 9.0-CURRENT FreeBSD 9.0-CURRENT #8 r212356M: Thu Sep 9 10:56:59 WEST 2010 rpaulo@freebsd-vm1:/home/rpaulo/freebsd/obj/usr/home/rpaulo/freebsd/head/sys/FREEBSD-VM1 amd64


	<machine, os, target, libraries (multiple lines)>
>Description:
	<precise description of the problem (multiple lines)>
>How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/postgresql90-server/Makefile,v
retrieving revision 1.201
diff -u -p -r1.201 Makefile
--- Makefile	25 Mar 2010 22:58:11 -0000	1.201
+++ Makefile	9 Sep 2010 10:49:26 -0000
@@ -83,6 +83,7 @@ CONFIGURE_ARGS+=--with-openssl
 .include <bsd.port.pre.mk>
 
 .if !defined(SLAVE_ONLY)
+OPTIONS+=	DTRACE "Build with DTrace probes (server only)" off
 OPTIONS+=	PAM "Build with PAM support (server only)" off
 OPTIONS+=	LDAP "Build with LDAP authentication support" off
 OPTIONS+=	MIT_KRB5 "Build with MIT's kerberos support" off
@@ -119,6 +120,11 @@ LIB_DEPENDS+=	icudata.38:${PORTSDIR}/dev
 
 PATCH_DIST_STRIP=-p1
 
+.  if defined(SERVER_ONLY) && defined(WITH_DTRACE)
+CONFIGURE_ARGS+=--enable-dtrace
+LDFLAGS+=-lelf
+.  endif
+
 .  if defined(SERVER_ONLY) && defined(WITH_PAM)
 CONFIGURE_ARGS+=--with-pam
 .  endif

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c88be40.a8e8d80a.7a28.2db8>