--- Makefile.orig 2010-05-14 10:40:01.000000000 +0800 +++ Makefile 2010-05-17 15:15:20.000000000 +0800 @@ -7,7 +7,7 @@ PORTNAME?= postgresql DISTVERSION?= 8.4.3 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${DISTVERSION} @@ -91,6 +91,7 @@ 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" on # See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info OPTIONS+= ICU "Use ICU 3.x for unicode collation (server)" off @@ -164,6 +165,10 @@ INSTALL_TARGET= install-strip . endif +.if (${OSVERSION} >= 700000) && !defined(WITHOUT_GSSAPI) +CONFIGURE_ARGS+=--with-gssapi +.endif + . if defined(WITH_MIT_KRB5) . if exists(/usr/lib/libkrb5.so) || exists(/usr/bin/krb5-config) BROKEN= "You must remove heimdal's /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/make.conf to build successfully with MIT-KRB"