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 | |
parent | 420bb6fb5d4bfa3daf433d762e7ef1328e857c26 (diff) | |
download | ports-166e936d8cf447daf85e41947c78b58d67de5714.tar.gz ports-166e936d8cf447daf85e41947c78b58d67de5714.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql84-server/Makefile | 15 | ||||
-rw-r--r-- | databases/postgresql90-server/Makefile | 7 | ||||
-rw-r--r-- | databases/postgresql91-server/Makefile | 7 | ||||
-rw-r--r-- | databases/postgresql92-server/Makefile | 7 |
4 files changed, 31 insertions, 5 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index 8615b4bbbcd1..84ec5103cb49 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-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} @@ -81,6 +82,7 @@ CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH} .endif .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 @@ -89,7 +91,7 @@ OPTIONS+= OPTIMIZED_CFLAGS "Builds with compiler optimizations (-O3)" off OPTIONS+= XML "Build with XML data type (server)" on OPTIONS+= TZDATA "Use internal timezone database (server)" on OPTIONS+= DEBUG "Builds with debugging symbols" off -OPTIONS+= GSSAPI "BUild with GSSAPI support" off +OPTIONS+= GSSAPI "Build with GSSAPI support" off # See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info OPTIONS+= ICU "Use ICU for unicode collation (server)" off @@ -123,6 +125,14 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-icu4 .if !defined(SLAVE_ONLY) 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) CONFIGURE_ARGS+=--with-pam . endif @@ -176,6 +186,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 .else CONFIGURE_ARGS+=--without-gssapi diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index a8e54570b794..bde3bc16ef97 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-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 .else CONFIGURE_ARGS+=--without-gssapi 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 diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index 16b46da8d470..0bc8098de2af 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-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 |