ports/150431: DTrace support for postgres84-server

Rui Paulo rpaulo at FreeBSD.org
Thu Sep 9 11:20:01 UTC 2010


>Number:         150431
>Category:       ports
>Synopsis:       DTrace support for postgres84-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:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rui Paulo
>Release:        FreeBSD 9.0
>Organization:
>Environment:
FreeBSD freebsd-vm1 9.0-CURRENT FreeBSD 9.0-CURRENT #8 r212356M: Thu Sep  9 10:56:59 WEST 2010     rpaulo at 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/postgresql84-server/Makefile,v
retrieving revision 1.208
diff -u -p -r1.208 Makefile
--- Makefile	5 Aug 2010 21:37:28 -0000	1.208
+++ Makefile	9 Sep 2010 11:14:37 -0000
@@ -85,6 +85,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
@@ -121,6 +122,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:



More information about the freebsd-ports-bugs mailing list