summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-devel-server/Makefile16
-rw-r--r--databases/postgresql-devel/Makefile16
-rw-r--r--databases/postgresql7/Makefile16
-rw-r--r--databases/postgresql73-server/Makefile16
-rw-r--r--databases/postgresql73/Makefile16
-rw-r--r--databases/postgresql74-server/Makefile16
-rw-r--r--databases/postgresql80-server/Makefile16
-rw-r--r--databases/postgresql81-server/Makefile16
-rw-r--r--databases/postgresql82-server/Makefile16
-rw-r--r--databases/postgresql83-server/Makefile16
-rw-r--r--databases/postgresql84-server/Makefile16
-rw-r--r--databases/postgresql90-server/Makefile16
-rw-r--r--databases/postgresql91-server/Makefile16
-rw-r--r--databases/postgresql92-server/Makefile16
14 files changed, 210 insertions, 14 deletions
diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql-devel-server/Makefile
+++ b/databases/postgresql-devel-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql7/Makefile b/databases/postgresql7/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql7/Makefile
+++ b/databases/postgresql7/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql73-server/Makefile
+++ b/databases/postgresql73-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql73/Makefile
+++ b/databases/postgresql73/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql80-server/Makefile
+++ b/databases/postgresql80-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql81-server/Makefile
+++ b/databases/postgresql81-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql83-server/Makefile
+++ b/databases/postgresql83-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql90-server/Makefile
+++ b/databases/postgresql90-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 189269592893..58be0c5fdab4 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -20,12 +20,18 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.base${EXTRACT_SUFX} \
# ${PORTNAME}-${PORTVERSION}.test${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
-MAINTAINER= andreas@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
Y2K= http://www.postgresql.org/y2k.html
INSTALLS_SHLIB= YES
LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+CONFIGURE_KRB= --with-krb5=${KRB5_HOME} \
+ --with-krb-keytab=FILE:${PREFIX}/pgsql/etc/keytab
+.endif
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make -DWITH_TCL
@@ -80,6 +86,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
+ ${CONFIGURE_KRB} \
${CONFIGURE_TCL} \
${CONFIGURE_MULTIBYTE} \
${CONFIGURE_PERL} \
@@ -164,6 +171,13 @@ post-patch:
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
+#
+# USE_AUTOCONF implies GNU_CONFIGURE, which we don't want, so we have
+# to do it by hand.
+#
+pre-configure:
+ @(cd ${WRKSRC} && ${AUTOCONF})
+
post-build:
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}