aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql82-server/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-06-29 05:48:56 +0800
committervanilla <vanilla@FreeBSD.org>2004-06-29 05:48:56 +0800
commit88e410645c844bc6f867abe99c3172db6fd68e28 (patch)
tree27f6df9b745ae83e8254cc339f8aab46b96d70a0 /databases/postgresql82-server/Makefile
parentbaaddd02f199b2e498fa0a61f471a04b6d8ff21e (diff)
downloadfreebsd-ports-gnome-88e410645c844bc6f867abe99c3172db6fd68e28.tar.gz
freebsd-ports-gnome-88e410645c844bc6f867abe99c3172db6fd68e28.tar.zst
freebsd-ports-gnome-88e410645c844bc6f867abe99c3172db6fd68e28.zip
Upgrade to 7.4.3.
PR: ports/68456 Submitted by: maintainer
Diffstat (limited to 'databases/postgresql82-server/Makefile')
-rw-r--r--databases/postgresql82-server/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index 782803659342..4e1d17dd2e2d 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= postgresql
-PORTVERSION?= 7.4.2
+PORTVERSION?= 7.4.3
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
@@ -91,8 +91,18 @@ WITH_KRB5= yes
.endif
.if defined(WITH_HEIMDAL_KRB5)
-KRB5CONF= /usr/bin/krb5-config
WITH_KRB5= yes
+.if defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME}
+KRB5CONF= ${HEIMDAL_HOME}/bin/krb5-config
+.elif ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(${DESTDIR}/usr/lib/libkrb5.a)
+CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr
+KRB5CONF= ${DESTDIR}/usr/bin/krb5-config
+.else
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
+KRB5CONF= ${LOCALBASE}/bin/krb5-config
+.endif
.endif
.include <bsd.port.pre.mk>