ports/150433: DTrace support for postgres90-server
Rui Paulo
rpaulo at FreeBSD.org
Thu Sep 9 11:30:10 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list