wok-next diff xorg-twm/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents ea3c4b76ea5d
children cd7906120828
line diff
     1.1 --- a/xorg-twm/receipt	Fri Jul 14 16:02:21 2017 +0300
     1.2 +++ b/xorg-twm/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -15,22 +15,15 @@
     1.4  xorg-libXt-dev xorg-libXmu-dev"
     1.5  PKG_RULE="std"
     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 '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11/app-defaults,' src/Makefile.in
    1.12  
    1.13 -	./configure \
    1.14 -		--sysconfdir=/etc \
    1.15 -		--localstatedir=/var \
    1.16 -		$CONFIGURE_ARGS &&
    1.17 +	./configure $CONFIGURE_ARGS &&
    1.18  	make &&
    1.19  	make install
    1.20  }
    1.21  
    1.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 -genpkg_rules()
    1.24 -{
    1.25 +genpkg_rules() {
    1.26  	copy @std
    1.27  	DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu \
    1.28  	xorg-libXt"