diff options
author | Chris Rees <crees@FreeBSD.org> | 2011-11-30 18:49:31 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2011-11-30 18:49:31 +0000 |
commit | 166e936d8cf447daf85e41947c78b58d67de5714 (patch) | |
tree | 56d826103431f474ac7a79f10eefa2ab60fb97ca /databases/postgresql91-server | |
parent | - Update to 2.69 (diff) |
Add DTRACE option for postgresql84-server
PR: ports/150431
Submitted by: rpaulo
Fix compilation with GSSAPI
PR: ports/161786
Submitted by: rea
Reviewed by: mandree, John Marshall <john.marshall@riverwillow.com.au>
Mark IGNORE if DTRACE enabled for FreeBSD < 900021 without userland dtrace
PR: ports/152502
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: maintainer timeout (girgen, at least 2 months)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286685
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r-- | databases/postgresql91-server/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile index 16b46da8d470..0bc8098de2af 100644 --- a/databases/postgresql91-server/Makefile +++ b/databases/postgresql91-server/Makefile @@ -47,7 +47,8 @@ CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \ --enable-thread-safety CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + LDFLAGS_SL="${LDFLAGS_SL}" PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX} @@ -129,6 +130,9 @@ PATCH_DIST_STRIP=-p1 . if defined(WITH_DTRACE) CONFIGURE_ARGS+=--enable-dtrace LDFLAGS+=-lelf +. if ${OSVERSION} < 900021 +IGNORE= Need userland DTrace support found in FreeBSD 9.0 +. endif . endif . if defined(WITH_PAM) @@ -186,6 +190,7 @@ CONFIGURE_ARGS+=--with-gssapi # it explicitely: ld --as-needed is used for compilation, # so configure's -lgssapi_krb5 won't go. LDFLAGS+= -lgssapi +LDFLAGS_SL+= -lgssapi .endif .endif |