aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql92-server
diff options
context:
space:
mode:
authorEygene Ryabinkin <rea@FreeBSD.org>2011-09-25 18:09:06 +0000
committerEygene Ryabinkin <rea@FreeBSD.org>2011-09-25 18:09:06 +0000
commitd335e2960e4a2208097376ce21b808f2534ca982 (patch)
tree24d7ba7bddd76d05dfdeec9336d1efdce6f4c31d /databases/postgresql92-server
parentcd818112cf40b689f3ef2e7e80b76f243dd8f807 (diff)
downloadports-d335e2960e4a2208097376ce21b808f2534ca982.tar.gz
ports-d335e2960e4a2208097376ce21b808f2534ca982.zip
Notes
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r--databases/postgresql92-server/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index deaf9a186029..b0de91e02921 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -178,6 +178,13 @@ INSTALL_TARGET= install-strip
.if (${OSVERSION} >= 700000) && !defined(WITHOUT_GSSAPI)
CONFIGURE_ARGS+=--with-gssapi
+.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
.endif
. if defined(WITH_MIT_KRB5)