diff options
Diffstat (limited to 'extra/postgresql/Pkgfile')
-rw-r--r-- | extra/postgresql/Pkgfile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/extra/postgresql/Pkgfile b/extra/postgresql/Pkgfile index 62efe0b37..f62642397 100644 --- a/extra/postgresql/Pkgfile +++ b/extra/postgresql/Pkgfile @@ -6,10 +6,10 @@ # Run on: libxml2,linux-pam name=postgresql -version=8.4.4 +version=9.0.3 release=1 source=(ftp://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 \ - http://nutyx.meticul.eu/files/patchs/{nutyx-01.patch,build.patch,postgresql.pam}) + http://nutyx.meticul.eu/files/patchs/$name/{$name-9.0.3-nutyx-1.patch,$name-9.0.3-build-1.patch,postgresql.pam}) build() { source /etc/blfs-bootscripts @@ -19,7 +19,7 @@ build() { cd $name-$version # patch to remove regress/test make target (won't build with it present) - patch -Np1 -i ../build.patch + patch -Np1 -i ../$name-9.0.3-build-1.patch # configure ./configure --prefix=/usr --mandir=/usr/share/man \ @@ -37,12 +37,10 @@ build() { install -D -m644 COPYRIGHT $PKG/usr/share/licenses/$name/LICENSE cd ../$scripts-$scriptsversion - patch -Np1 -i ../nutyx-01.patch + patch -Np1 -i ../$name-9.0.3-nutyx-1.patch make DESTDIR=$PKG install-postgresql # install pam file install -D -m644 $SRC/postgresql.pam $PKG/etc/pam.d/postgresql - - chown -v root:root $PKG/usr/share/doc/postgresql/html/* } |