aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-devel
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-02-17 09:07:35 +0800
committerseanc <seanc@FreeBSD.org>2003-02-17 09:07:35 +0800
commit7ed47d1bee7fe68305ef1b62205a1662830a9022 (patch)
treed8f5580d4cdd0049d5090809fa942d843d137ace /databases/postgresql-devel
parentbb7a355e1afb8af9c1fe7533eb8cd3d4918d0bf4 (diff)
downloadfreebsd-ports-gnome-7ed47d1bee7fe68305ef1b62205a1662830a9022.tar.gz
freebsd-ports-gnome-7ed47d1bee7fe68305ef1b62205a1662830a9022.tar.zst
freebsd-ports-gnome-7ed47d1bee7fe68305ef1b62205a1662830a9022.zip
Update to snapshot of PostgreSQL on 2003.02.16.
Diffstat (limited to 'databases/postgresql-devel')
-rw-r--r--databases/postgresql-devel/Makefile38
-rw-r--r--databases/postgresql-devel/distinfo2
-rw-r--r--databases/postgresql-devel/pkg-plist58
3 files changed, 47 insertions, 51 deletions
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index 2d9ac5e05ecd..a2cfe468d834 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME?= postgresql
-PORTVERSION?= 7.4.2003.01.26
+PORTVERSION?= 7.4.2003.02.16
CATEGORIES?= databases
-MASTER_SITES= http://freebsd.sean.chittenden.org/ports/
+MASTER_SITES= http://freebsd.sean.chittenden.org/ports/ \
+ http://people.freebsd.org/~seanc/ports/
PKGNAMESUFFIX= -devel
MAINTAINER?= seanc@FreeBSD.org
@@ -50,14 +51,11 @@ PLIST_SUB+= GETTEXT="@comment "
CFLAGS+= -O3 -funroll-loops
.endif
-.if defined(WITH_DEBUG) && defined(WITH_STRIPBIN)
- @${ECHO} "WITH_DEBUG and WITH_STRIPBIN are mutually exclusive tunables."
- @${ECHO} "Please choose one or the other."
- @exit ${FALSE}
-.endif
-
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
+INSTALL_TARGET= install
+.else
+INSTALL_TARGET= install-strip
.endif
.if !defined(WITHOUT_SSL)
@@ -71,12 +69,8 @@ PLIST_SUB+= SERVER="@comment "
PKGNAMESUFFIX= -client
.else
PLIST_SUB+= SERVER=""
-INSTALL_TARGET= install-all-headers
-.if defined(WITH_STRIPBIN)
-INSTALL_TARGET+= install-strip
-.else
-INSTALL_TARGET+= install
-.endif
+INSTALL_TARGET+= install-all-headers
+MAKEFILE= GNUmakefile
.endif
.if defined(WITH_MIT_KRB5)
@@ -115,19 +109,18 @@ pre-everything::
@${ECHO} " WITH_HEIMDAL_KRB5 Builds with Heimdal's kerberos support"
@${ECHO} " WITH_OPTIMIZED_CFLAGS Builds with compiler optimizations (-O3)"
@${ECHO} " WITH_DEBUG Builds with debugging symbols"
- @${ECHO} " WITH_STRIPBIN Installs stripped binaries"
@${ECHO} ""
.if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
@${ECHO} "WITH_MIT_KRB5 and WITH_HEIMDAL_KRB5 are mutually exclusive."
@${ECHO} "Please choose one or the other."
@exit 1
.endif
-.if defined(WITH_MIT_KRB5) && !exists(${KRB5CONFIG})
+.if defined(WITH_MIT_KRB5) && !exists(${KRB5CONF})
@${ECHO} "Unable to find krb5-config in your local base, please verify that"
@${ECHO} "security/krb5 is installed or undefine the WITH_MIT_KRB5 tunable."
@exit 1
.endif
-.if defined(WITH_HEIMDAL_KRB5) && !exists(${KRB5CONFIG})
+.if defined(WITH_HEIMDAL_KRB5) && !exists(${KRB5CONF})
@${ECHO} "Unable to find krb5-config in the base system. Undefine"
@${ECHO} "WITH_HEIMDAL_KRB5 or add MAKE_KERBEROS5=yes to /etc/make.conf"
@${ECHO} "and remake world (or undefine the WITH_HEIMDAL_KRB5 tunable)."
@@ -141,7 +134,6 @@ do-install:
${GMAKE} -C src/include ${INSTALL_TARGET} ;\
${GMAKE} -C src/interfaces ${INSTALL_TARGET} ;\
${GMAKE} -C doc ${INSTALL_TARGET}
-
pre-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL
@@ -153,7 +145,6 @@ post-install:
${SED} "s|/usr/local|${PREFIX}|g" |\
tee ${PREFIX}/share/postgresql/post-install-notes
.if !defined(WITHOUT_SERVER)
-# install shell defaults for pgsql user
.for i in profile cshrc
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/dot.$i.in \
@@ -175,8 +166,13 @@ post-install:
.endif
check:
- @ cd ${WRKSRC}; \
- ${GMAKE} check
+ @if [ `id -u` != 0 ] ; then \
+ ${ECHO} "Running postgresql regressions tests" ;\
+ cd ${WRKSRC}; ${GMAKE} check ;\
+ else \
+ ${ECHO} "You cannot run regression tests when postgresql is built as user root." ; \
+ ${ECHO} "Clean and rebuild the port as a regular user to run the tests." ;\
+ fi
.include <bsd.port.mk>
.endif
diff --git a/databases/postgresql-devel/distinfo b/databases/postgresql-devel/distinfo
index d270fcf726e0..ff280c5b80e9 100644
--- a/databases/postgresql-devel/distinfo
+++ b/databases/postgresql-devel/distinfo
@@ -1 +1 @@
-MD5 (postgresql/postgresql-7.4.2003.01.26.tar.bz2) = 7ed2d6cb2e7a9a61726b42830ba0da08
+MD5 (postgresql/postgresql-7.4.2003.02.16.tar.bz2) = e68db3485edf12964fdae8564e2d986f
diff --git a/databases/postgresql-devel/pkg-plist b/databases/postgresql-devel/pkg-plist
index fb68ed44cb8a..0940fbd0969e 100644
--- a/databases/postgresql-devel/pkg-plist
+++ b/databases/postgresql-devel/pkg-plist
@@ -168,6 +168,7 @@ include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
include/postgresql/server/mb/pg_wchar.h
+include/postgresql/server/nodes/bitmapset.h
include/postgresql/server/nodes/execnodes.h
include/postgresql/server/nodes/makefuncs.h
include/postgresql/server/nodes/memnodes.h
@@ -243,11 +244,10 @@ include/postgresql/server/port/univel.h
include/postgresql/server/port/unixware.h
include/postgresql/server/port/win.h
include/postgresql/server/port/win32.h
-include/postgresql/server/regex/cclass.h
-include/postgresql/server/regex/cname.h
+include/postgresql/server/regex/regcustom.h
+include/postgresql/server/regex/regerrs.h
include/postgresql/server/regex/regex.h
-include/postgresql/server/regex/regex2.h
-include/postgresql/server/regex/utils.h
+include/postgresql/server/regex/regguts.h
include/postgresql/server/rewrite/prs2lock.h
include/postgresql/server/rewrite/rewriteDefine.h
include/postgresql/server/rewrite/rewriteHandler.h
@@ -425,47 +425,47 @@ lib/libecpg.so.3
share/postgresql/post-install-notes
@unexec rmdir %D/share/postgresql 2>/dev/null || true
@unexec rmdir %D/pgsql 2>/dev/null || true
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/postgres.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/postgres.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/cs/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/cs/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/cs/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/cs/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/de/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_resetxlog.mo
+%%GETTEXT%%share/locale/de/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/de/LC_MESSAGES/psql.mo
+%%GETTEXT%%share/locale/es/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_controldata.mo
+%%GETTEXT%%share/locale/es/LC_MESSAGES/postgres.mos
+%%GETTEXT%%share/locale/fr/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/fr/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/hu/LC_MESSAGES/postgres.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/postgres.mo
+%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_controldata.mo
+%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_resetxlog.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_resetxlog.mo
+%%GETTEXT%%share/locale/ru/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/postgres.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_controldata.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_resetxlog.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/postgres.mo
+%%GETTEXT%%share/locale/sv/LC_MESSAGES/psql.mo
%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/libpq.mo
+%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_controldata.mo
%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_resetxlog.mo
+%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/libpq.mo
%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_dump.mo
+%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/psql.mo
%%GETTEXT%%@unexec rmdir share/locale/*/LC_MESSAGES 2>/dev/null || true
%%GETTEXT%%@unexec rmdir share/locale/* 2>/dev/null || true
%%GETTEXT%%@unexec rmdir share/locale 2>/dev/null || true