wok-next diff postgresql/receipt @ rev 20846

mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 13:59:48 2018 +0300 (2018-06-23)
parents 5b64ca8fb7e1
children d5aab818505e
line diff
     1.1 --- a/postgresql/receipt	Wed Nov 01 11:50:08 2017 +0100
     1.2 +++ b/postgresql/receipt	Sat Jun 23 13:59:48 2018 +0300
     1.3 @@ -16,9 +16,7 @@
     1.4  BUILD_DEPENDS="readline-dev zlib-dev perl-dev python-dev"
     1.5  SPLIT="libpostgresqlclient postgresql-client postgresql-dev postgresql-doc"
     1.6  
     1.7 -# Rules to configure and make the package.
     1.8 -compile_rules()
     1.9 -{
    1.10 +compile_rules() {
    1.11  	sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &&
    1.12  
    1.13  	./configure \
    1.14 @@ -32,9 +30,7 @@
    1.15  	make -C doc/src/sgml DESTDIR=$DESTDIR install-html
    1.16  }
    1.17  
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 +genpkg_rules() {
    1.22  	case $PACKAGE in
    1.23  	postgresql)
    1.24  		copy bin/ postgresql/ *.so*
    1.25 @@ -105,8 +101,7 @@
    1.26  EOF
    1.27  }
    1.28  
    1.29 -post_remove_postgresql()
    1.30 -{
    1.31 +post_remove_postgresql() {
    1.32  	# when both user and group have the same id# and name
    1.33  	# both group and user will get removed with either delusr/delgroup
    1.34  	chroot "$1/" deluser postgres