wok-next rev 17673

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 18 09:35:09 2015 +0100 (2015-02-18)
parents 3ba8d2c9720d
children 5f652b930fb9
files attr-dev/receipt ckermit/receipt cv/receipt erlang/receipt fish/receipt gsim51/receipt iftop/receipt iptraf/receipt iptstate/receipt kismet/receipt nethack/receipt nethogs/receipt njconnect/receipt nmon/receipt octave/receipt procps/receipt rhapsody/receipt rlwrap/receipt slurm/receipt snownews/receipt vfu/receipt yacpi/receipt zssh/receipt
line diff
     1.1 --- a/attr-dev/receipt	Tue Feb 17 12:55:08 2015 +0100
     1.2 +++ b/attr-dev/receipt	Wed Feb 18 09:35:09 2015 +0100
     1.3 @@ -15,8 +15,9 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib
     1.8 +	mkdir -p $fs/usr/lib $fs/lib
     1.9  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.10 +	( cd $fs/lib ; ln -s ../usr/lib/*a . )
    1.11  	cp -a $install/usr/include $fs/usr
    1.12  	find $fs -type f -name '*.la' -exec chmod a+x \{\} \;
    1.13  }
     2.1 --- a/ckermit/receipt	Tue Feb 17 12:55:08 2015 +0100
     2.2 +++ b/ckermit/receipt	Wed Feb 18 09:35:09 2015 +0100
     2.3 @@ -16,8 +16,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
     2.8 -	make linux "LNKFLAGS=-lncurses"
     2.9 +	make linux "LNKFLAGS=-lncurses -ltinfo"
    2.10  }
    2.11  
    2.12  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/cv/receipt	Tue Feb 17 12:55:08 2015 +0100
     3.2 +++ b/cv/receipt	Wed Feb 18 09:35:09 2015 +0100
     3.3 @@ -16,8 +16,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
     3.8 -	sed -i 's|/local||' Makefile
     3.9 +	sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile
    3.10  	make && make DESTDIR=$DESTDIR install
    3.11  }
    3.12  
     4.1 --- a/erlang/receipt	Tue Feb 17 12:55:08 2015 +0100
     4.2 +++ b/erlang/receipt	Wed Feb 18 09:35:09 2015 +0100
     4.3 @@ -17,6 +17,7 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 +	export LDFLAGS="$LDFLAGS -ltinfo"
     4.8  	export LANG=C
     4.9  	
    4.10  	cd $src
     5.1 --- a/fish/receipt	Tue Feb 17 12:55:08 2015 +0100
     5.2 +++ b/fish/receipt	Wed Feb 18 09:35:09 2015 +0100
     5.3 @@ -15,6 +15,7 @@
     5.4  
     5.5  compile_rules()
     5.6  {
     5.7 +	export LDFLAGS="$LDFLAGS -ltinfo"
     5.8  	./configure \
     5.9  		$CONFIGURE_ARGS &&
    5.10  	make &&
     6.1 --- a/gsim51/receipt	Tue Feb 17 12:55:08 2015 +0100
     6.2 +++ b/gsim51/receipt	Wed Feb 18 09:35:09 2015 +0100
     6.3 @@ -17,8 +17,8 @@
     6.4  # Rules to configure and make the package.
     6.5  compile_rules()
     6.6  {
     6.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
     6.8  	cd $src/src
     6.9 +	sed -i 's/-lncurses/& -ltinfo/' Makefile
    6.10  	make
    6.11  }
    6.12  
     7.1 --- a/iftop/receipt	Tue Feb 17 12:55:08 2015 +0100
     7.2 +++ b/iftop/receipt	Wed Feb 18 09:35:09 2015 +0100
     7.3 @@ -17,7 +17,7 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 -	cd $src
     7.8 +	export LDFLAGS="$LDFLAGS -ltinfo"
     7.9  	./configure --prefix=/usr --infodir=/usr/share/info \
    7.10  	--mandir=/usr/share/man $CONFIGURE_ARGS
    7.11  	make
    7.12 @@ -30,4 +30,3 @@
    7.13  	mkdir -p $fs/usr/
    7.14  	cp -a $install/usr/sbin $fs/usr
    7.15  }
    7.16 -
     8.1 --- a/iptraf/receipt	Tue Feb 17 12:55:08 2015 +0100
     8.2 +++ b/iptraf/receipt	Wed Feb 18 09:35:09 2015 +0100
     8.3 @@ -16,8 +16,8 @@
     8.4  # Rules to configure and make the package.
     8.5  compile_rules()
     8.6  {
     8.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
     8.8  	cd $src/src
     8.9 +	sed -i 's/lncurses/& -ltinfo/' Makefile
    8.10  	mkdir -p $DESTDIR/usr/bin 2> /dev/null
    8.11  	sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
    8.12  	sed -i 's|/local/|/|' Makefile
     9.1 --- a/iptstate/receipt	Tue Feb 17 12:55:08 2015 +0100
     9.2 +++ b/iptstate/receipt	Wed Feb 18 09:35:09 2015 +0100
     9.3 @@ -15,7 +15,7 @@
     9.4  # Rules to configure and make the package.
     9.5  compile_rules()
     9.6  {
     9.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
     9.8 +	sed -i 's/lncurses/& -ltinfo/' Makefile
     9.9  	make 
    9.10  }
    9.11  
    10.1 --- a/kismet/receipt	Tue Feb 17 12:55:08 2015 +0100
    10.2 +++ b/kismet/receipt	Wed Feb 18 09:35:09 2015 +0100
    10.3 @@ -17,7 +17,7 @@
    10.4  # Rules to configure and make the package.
    10.5  compile_rules()
    10.6  {
    10.7 -	cd $src
    10.8 +	export LDFLAGS="$LDFLAGS -ltinfo"
    10.9  	touch -d 197001010000 .depend
   10.10  	./configure \
   10.11  		--prefix=/usr \
    11.1 --- a/nethack/receipt	Tue Feb 17 12:55:08 2015 +0100
    11.2 +++ b/nethack/receipt	Wed Feb 18 09:35:09 2015 +0100
    11.3 @@ -16,7 +16,7 @@
    11.4  # Rules to configure and make the package.
    11.5  compile_rules()
    11.6  {
    11.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    11.8 +	sed -i 's|lncurses|& -ltinfo|' sys/unix/Makefile.src
    11.9  	sh sys/unix/setup.sh x
   11.10  	sed -i "s|\/\* #define LINUX \*\/|#define LINUX|" include/unixconf.h
   11.11  	sed -i "s|WINTTYLIB = -ltermlib|# WINTTYLIB = -ltermlib|" src/Makefile
    12.1 --- a/nethogs/receipt	Tue Feb 17 12:55:08 2015 +0100
    12.2 +++ b/nethogs/receipt	Wed Feb 18 09:35:09 2015 +0100
    12.3 @@ -17,7 +17,7 @@
    12.4  # Rules to configure and make the package.
    12.5  compile_rules()
    12.6  {
    12.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    12.8 +	sed -i 's|lncurses|& -ltinfo|' Makefile
    12.9  	mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
   12.10  	cd $src
   12.11  	make 
    13.1 --- a/njconnect/receipt	Tue Feb 17 12:55:08 2015 +0100
    13.2 +++ b/njconnect/receipt	Wed Feb 18 09:35:09 2015 +0100
    13.3 @@ -16,7 +16,7 @@
    13.4  # Rules to configure and make the package.
    13.5  compile_rules()
    13.6  {
    13.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    13.8 +	sed -i 's|curses|& -ltinfo|' Makefile
    13.9  	make DESTDIR=$install install
   13.10  }
   13.11  
    14.1 --- a/nmon/receipt	Tue Feb 17 12:55:08 2015 +0100
    14.2 +++ b/nmon/receipt	Wed Feb 18 09:35:09 2015 +0100
    14.3 @@ -13,11 +13,10 @@
    14.4  # Rules to configure and make the package.
    14.5  compile_rules()
    14.6  {
    14.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    14.8  	mkdir -p $src
    14.9  	cd $src
   14.10  	wget "http://downloads.sourceforge.net/project/nmon/lmon14g.c"
   14.11 -	cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D POWER
   14.12 +	cc -o nmon lmon14g.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -ltinfo -g -D POWER
   14.13  }
   14.14  					
   14.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    15.1 --- a/octave/receipt	Tue Feb 17 12:55:08 2015 +0100
    15.2 +++ b/octave/receipt	Wed Feb 18 09:35:09 2015 +0100
    15.3 @@ -22,6 +22,7 @@
    15.4  # Rules to configure and make the package.
    15.5  compile_rules()
    15.6  {
    15.7 +	export LDFLAGS="$LDFLAGS -ltinfo"
    15.8  	cd $src
    15.9  
   15.10  	# http://www.nabble.com/Random-rounding-errors-td16010966.html
    16.1 --- a/procps/receipt	Tue Feb 17 12:55:08 2015 +0100
    16.2 +++ b/procps/receipt	Wed Feb 18 09:35:09 2015 +0100
    16.3 @@ -16,7 +16,7 @@
    16.4  # Rules to configure and make the package.
    16.5  compile_rules()
    16.6  {
    16.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    16.8 +	sed -i 's|lncurses|& -ltinfo|' Makefile
    16.9  	patch -Np1 -i $stuff/$PACKAGE-$VERSION+gmake-3.82.patch
   16.10  	make && make -j1 install
   16.11  }
    17.1 --- a/rhapsody/receipt	Tue Feb 17 12:55:08 2015 +0100
    17.2 +++ b/rhapsody/receipt	Wed Feb 18 09:35:09 2015 +0100
    17.3 @@ -17,7 +17,7 @@
    17.4  # Rules to configure and make the package.
    17.5  compile_rules()
    17.6  {
    17.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    17.8 +	sed -i 's|lncurses|& -ltinfo|' configure
    17.9  	./configure -i /usr/bin -d /usr/share/doc/rhapsody &&
   17.10  	make clean &&
   17.11  	make
    18.1 --- a/rlwrap/receipt	Tue Feb 17 12:55:08 2015 +0100
    18.2 +++ b/rlwrap/receipt	Wed Feb 18 09:35:09 2015 +0100
    18.3 @@ -15,10 +15,10 @@
    18.4  # Rules to configure and make the package.
    18.5  compile_rules()
    18.6  {
    18.7 -	cd $src
    18.8 +	export LDFLAGS="$LDFLAGS -ltinfo"
    18.9  	./configure --prefix=/usr \
   18.10  		--localstatedir=/var \
   18.11 -	$CONFIGURE_ARGS &&
   18.12 +		$CONFIGURE_ARGS &&
   18.13  	make && make DESTDIR=$DESTDIR install
   18.14  }
   18.15  
    19.1 --- a/slurm/receipt	Tue Feb 17 12:55:08 2015 +0100
    19.2 +++ b/slurm/receipt	Wed Feb 18 09:35:09 2015 +0100
    19.3 @@ -16,7 +16,7 @@
    19.4  # Rules to configure and make the package.
    19.5  compile_rules()
    19.6  {
    19.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    19.8 +	sed -i 's|lncurses|& -ltinfo|' *
    19.9  	./configure \
   19.10  		--prefix=/usr \
   19.11  		--infodir=/usr/share/info \
    20.1 --- a/snownews/receipt	Tue Feb 17 12:55:08 2015 +0100
    20.2 +++ b/snownews/receipt	Wed Feb 18 09:35:09 2015 +0100
    20.3 @@ -17,7 +17,7 @@
    20.4  # Rules to configure and make the package.
    20.5  compile_rules()
    20.6  {
    20.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    20.8 +	sed -i 's|lncurses|& -ltinfo|' *
    20.9  	./configure --prefix=/usr &&
   20.10  	make && make DESTDIR=$DESTDIR install
   20.11  }
    21.1 --- a/vfu/receipt	Tue Feb 17 12:55:08 2015 +0100
    21.2 +++ b/vfu/receipt	Wed Feb 18 09:35:09 2015 +0100
    21.3 @@ -16,7 +16,7 @@
    21.4  # Rules to configure and make the package.
    21.5  compile_rules()
    21.6  {
    21.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    21.8 +	sed -i 's|lncurses|& -ltinfo|' */Makefile */mm.conf
    21.9  	make
   21.10  }
   21.11  
    22.1 --- a/yacpi/receipt	Tue Feb 17 12:55:08 2015 +0100
    22.2 +++ b/yacpi/receipt	Wed Feb 18 09:35:09 2015 +0100
    22.3 @@ -16,7 +16,7 @@
    22.4  # Rules to configure and make the package.
    22.5  compile_rules()
    22.6  {
    22.7 -	export LDFLAGS="$LDFLAGS -ltinfo"
    22.8 +	sed -i 's|lncurses|& -ltinfo|' Makefile
    22.9  	make 
   22.10  }
   22.11  
    23.1 --- a/zssh/receipt	Tue Feb 17 12:55:08 2015 +0100
    23.2 +++ b/zssh/receipt	Wed Feb 18 09:35:09 2015 +0100
    23.3 @@ -17,6 +17,7 @@
    23.4  # Rules to configure and make the package.
    23.5  compile_rules()
    23.6  {
    23.7 +	export LDFLAGS="$LDFLAGS -ltinfo"
    23.8  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    23.9  	make
   23.10  }