wok-next diff nano/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 0e7893ac206d
children e7a485521d6a
line diff
     1.1 --- a/nano/receipt	Sat Feb 24 16:17:33 2018 +0200
     1.2 +++ b/nano/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -16,18 +16,15 @@
     1.4  
     1.5  compile_rules() {
     1.6  	./configure \
     1.7 -		--sysconfdir=/etc \
     1.8 -		--localstatedir=/var \
     1.9  		--disable-wrapping-as-root \
    1.10  		--enable-utf8 \
    1.11 -		$CONFIGURE_ARGS $ARCH_ARGS &&
    1.12 +		$CONFIGURE_ARGS &&
    1.13  	make && make install || exit 1
    1.14  
    1.15  	# Config file.
    1.16 -	mkdir -p $install/etc
    1.17 -	cp $src/doc/nanorc.sample $install/etc/nanorc
    1.18 +	install -Dm644 $src/doc/nanorc.sample $install/etc/nanorc
    1.19  
    1.20 -	install -v -m644 doc/texinfo/nano.html $install/usr/share/doc/nano-$VERSION
    1.21 +	cook_pick_docs doc/texinfo/nano.html
    1.22  }
    1.23  
    1.24  genpkg_rules() {