diff options
Diffstat (limited to 'databases/postgresql90-server')
-rw-r--r-- | databases/postgresql90-server/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index 4bb749227a69..ef3d549e6be9 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-server/Makefile @@ -82,8 +82,6 @@ USE_OPENSSL= yes CONFIGURE_ARGS+=--with-openssl .endif -.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 @@ -103,6 +101,8 @@ OPTIONS+= ICU "Use ICU for unicode collation (server)" off # (requires dump/restore if modified.) OPTIONS+= INTDATE "Builds with 64-bit date/time type (server)" on +.include <bsd.port.pre.mk> + . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum) USE_AUTOTOOLS= autoconf CONFIGURE_ARGS+=--with-icu @@ -168,8 +168,12 @@ INSTALL_TARGET= install-strip .if !defined(WITHOUT_GSSAPI) CONFIGURE_ARGS+=--with-gssapi -.if ${OSVERSION} >= 900000 -BROKEN= does not link on FreeBSD 9.X +.if !defined(WITH_MIT_KRB5) && !defined(WITH_HEIMDAL_KRB5) +# Kerberos libraries will pull the proper GSSAPI library +# via linker dependencies, but otherwise we must specify +# it explicitely: ld --as-needed is used for compilation, +# so configure's -lgssapi_krb5 won't go. +LDFLAGS+= -lgssapi .endif .else CONFIGURE_ARGS+=--without-gssapi |