Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 11:02:06 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150430: DTrace support for postgres90-server
Message-ID:  <201009091102.o89B26ef004469@www.freebsd.org>
Resent-Message-ID: <201009091110.o89BA0h6004917@freefall.freebsd.org>

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

>Number:         150430
>Category:       ports
>Synopsis:       DTrace support for postgres90-server
>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:   Thu Sep 09 11:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rui Paulo
>Release:        FreeBSD 9.0
>Organization:
>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

>Description:

>How-To-Repeat:

>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?201009091102.o89B26ef004469>