aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql83-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2010-10-07 06:58:10 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2010-10-07 06:58:10 +0000
commit060a528952c060d3cacb5faa2337b86a947f9cc1 (patch)
treec42f4aa0bb5da6b4d3d55839fff8d1bbed9e71f3 /databases/postgresql83-server
parentbd169d68cc2b63d4f9e6017ffe8875de63696ede (diff)
downloadports-060a528952c060d3cacb5faa2337b86a947f9cc1.tar.gz
ports-060a528952c060d3cacb5faa2337b86a947f9cc1.zip
Notes
Diffstat (limited to 'databases/postgresql83-server')
-rw-r--r--databases/postgresql83-server/Makefile27
-rw-r--r--databases/postgresql83-server/distinfo6
-rw-r--r--databases/postgresql83-server/pkg-plist-server2
3 files changed, 22 insertions, 13 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index 8929d4341236..42347940d318 100644
--- a/databases/postgresql83-server/Makefile
+++ b/databases/postgresql83-server/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME?= postgresql
-DISTVERSION?= 8.3.11
-PORTREVISION= 2
+DISTVERSION?= 8.3.12
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -39,12 +38,13 @@ GNU_CONFIGURE= YES
PGUSER= pgsql
PGGROUP= pgsql
-CONFIGURE_ARGS+=--with-libraries=${LOCALBASE}/lib \
- --with-includes=${LOCALBASE}/include \
+LDFLAGS+= -L${LOCALBASE}/lib
+INCLUDES+= -I${LOCALBASE}/include
+CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \
+ --with-includes=${PREFIX}/lib \
--enable-thread-safety \
--with-docdir=${DOCSDIR}
-LDFLAGS+= -L${PREFIX}/lib
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" \
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" INCLUDES="${INCLUDES}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
@@ -111,21 +111,23 @@ PATCHFILES+= pg-8311-icu-xx-2010-05-14.diff.gz:icu
PATCH_DIST_STRIP=-p1
-. if defined(SERVER_ONLY) && defined(WITH_PAM)
+. if defined(WITH_PAM)
CONFIGURE_ARGS+=--with-pam
. endif
-. if defined(SERVER_ONLY) && defined(WITH_LDAP)
+. if defined(WITH_LDAP)
CONFIGURE_ARGS+=--with-ldap
+. if defined (SERVER_ONLY)
USE_OPENLDAP= YES
+. endif
. endif
-. if defined(SERVER_ONLY) && defined(WITH_XML)
+. if defined(WITH_XML)
CONFIGURE_ARGS+=--with-libxml
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
. endif
-. if defined(SERVER_ONLY) && defined(WITH_TZDATA)
+. if defined(WITH_TZDATA)
PLIST_SUB+= TZDATA=""
. else
CONFIGURE_ARGS+=--with-system-tzdata=/usr/share/zoneinfo
@@ -279,6 +281,11 @@ pre-su-install:
.if !defined(NO_BUILD)
post-patch:
@${REINPLACE_CMD} s/@PTHREAD_LIBS@// ${WRKSRC}/src/Makefile.global.in
+. if defined(WITH_ICU) || defined(WITH_ICU4)
+ @${REINPLACE_CMD} -E -e \
+ "s|^(m4_if.*)2.6[0-9](.*Autoconf version )2.6[0-9]|\1${AUTOCONF_VERSION:S/2/2./}\2${AUTOCONF_VERSION:S/2/2./}|g" \
+ ${WRKSRC}/configure.in
+. endif
do-install:
@for dir in ${INSTALL_DIRS}; do \
diff --git a/databases/postgresql83-server/distinfo b/databases/postgresql83-server/distinfo
index 101008efa3ed..1918dafabeed 100644
--- a/databases/postgresql83-server/distinfo
+++ b/databases/postgresql83-server/distinfo
@@ -1,6 +1,6 @@
-MD5 (postgresql/postgresql-8.3.11.tar.bz2) = 9dfbc971bd9ea7e2c2a042deba8213f9
-SHA256 (postgresql/postgresql-8.3.11.tar.bz2) = 81abb1a90069c93acf0b6ece980d674f325454ec7584247222080501946672db
-SIZE (postgresql/postgresql-8.3.11.tar.bz2) = 14217781
+MD5 (postgresql/postgresql-8.3.12.tar.bz2) = 6fcb02cd24b6bc25f2e2fb950c6a5d9e
+SHA256 (postgresql/postgresql-8.3.12.tar.bz2) = 596bd677dee6153ddc42391b33b6346ebc86f60f8d935fedff775ed46d02f070
+SIZE (postgresql/postgresql-8.3.12.tar.bz2) = 14273431
MD5 (postgresql/pg-8311-icu-xx-2010-05-14.diff.gz) = 43fd07e87e9ecff2aa09b134408bdcb5
SHA256 (postgresql/pg-8311-icu-xx-2010-05-14.diff.gz) = 44146bdb29a5a7d51c70911096ed6d265bdf09f74f0084ee7ad1883bea2f852a
SIZE (postgresql/pg-8311-icu-xx-2010-05-14.diff.gz) = 5064
diff --git a/databases/postgresql83-server/pkg-plist-server b/databases/postgresql83-server/pkg-plist-server
index 4d2587cc4093..2dae42aace87 100644
--- a/databases/postgresql83-server/pkg-plist-server
+++ b/databases/postgresql83-server/pkg-plist-server
@@ -650,6 +650,7 @@ share/postgresql/snowball_create.sql
%%TZDATA%%share/postgresql/timezone/Pacific/Apia
%%TZDATA%%share/postgresql/timezone/Pacific/Auckland
%%TZDATA%%share/postgresql/timezone/Pacific/Chatham
+%%TZDATA%%share/postgresql/timezone/Pacific/Chuuk
%%TZDATA%%share/postgresql/timezone/Pacific/Easter
%%TZDATA%%share/postgresql/timezone/Pacific/Efate
%%TZDATA%%share/postgresql/timezone/Pacific/Enderbury
@@ -675,6 +676,7 @@ share/postgresql/snowball_create.sql
%%TZDATA%%share/postgresql/timezone/Pacific/Pago_Pago
%%TZDATA%%share/postgresql/timezone/Pacific/Palau
%%TZDATA%%share/postgresql/timezone/Pacific/Pitcairn
+%%TZDATA%%share/postgresql/timezone/Pacific/Pohnpei
%%TZDATA%%share/postgresql/timezone/Pacific/Ponape
%%TZDATA%%share/postgresql/timezone/Pacific/Port_Moresby
%%TZDATA%%share/postgresql/timezone/Pacific/Rarotonga