From 7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb Mon Sep 17 00:00:00 2001 From: piernov Date: Tue, 24 Jan 2012 01:19:29 +0100 Subject: libpostgresql 9.1.2-1 màj port (cherry picked from commit ffafdb97fe50a37bc5b8b13aeb7cf5e669919096) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libpostgresql/Pkgfile | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) (limited to 'libpostgresql/Pkgfile') diff --git a/libpostgresql/Pkgfile b/libpostgresql/Pkgfile index 13cf0efdd..50bc420b4 100644 --- a/libpostgresql/Pkgfile +++ b/libpostgresql/Pkgfile @@ -6,32 +6,26 @@ # Run on: libxml2,linux-pam name=libpostgresql -version=9.0.3 -release=2 -source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \ - build.patch postgresql.pam) +version=9.1.2 +release=1 +source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 + postgresql.pam) build() { - - cd postgresql-$version - - # patch to remove regress/test make target (won't build with it present) - patch -Np1 -i ../build.patch - - # configure - ./configure --prefix=/usr --mandir=/usr/share/man \ - --with-docdir=/usr/share/doc --with-openssl \ - --enable-thread-safety \ - --with-pam --with-libxml - - # build - make - - for i in src/interfaces src/bin/pg_config src/include; do + cd postgresql-$version + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --with-docdir=/usr/share/doc \ + --with-openssl \ + --enable-thread-safety \ + --with-pam \ + --with-libxml + + make + + for i in src/interfaces src/bin/pg_config src/include; do cd $i make DESTDIR=$PKG install cd - done - } - -- cgit v1.2.3-70-g09d2