diff options
author | Eygene Ryabinkin <rea@FreeBSD.org> | 2011-09-25 18:09:06 +0000 |
---|---|---|
committer | Eygene Ryabinkin <rea@FreeBSD.org> | 2011-09-25 18:09:06 +0000 |
commit | d335e2960e4a2208097376ce21b808f2534ca982 (patch) | |
tree | 24d7ba7bddd76d05dfdeec9336d1efdce6f4c31d /databases/postgresql84-server/Makefile | |
parent | cd818112cf40b689f3ef2e7e80b76f243dd8f807 (diff) | |
download | ports-d335e2960e4a2208097376ce21b808f2534ca982.tar.gz ports-d335e2960e4a2208097376ce21b808f2534ca982.zip |
Notes
Diffstat (limited to 'databases/postgresql84-server/Makefile')
-rw-r--r-- | databases/postgresql84-server/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index 68823aee796a..a158bfacc932 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-server/Makefile @@ -83,8 +83,6 @@ USE_OPENSSL= yes CONFIGURE_ARGS+=--with-openssl .endif -.include <bsd.port.pre.mk> - .if !defined(SLAVE_ONLY) OPTIONS+= PAM "Build with PAM support (server only)" off OPTIONS+= LDAP "Build with LDAP authentication support" 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 @@ -161,8 +161,12 @@ INSTALL_TARGET= install-strip .if defined(WITH_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 |