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 .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