wok rev 20096

qemacs: does not need gcc3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 06 17:23:41 2017 +0200 (2017-10-06)
parents 12f7ed32ddff
children 40d02ae21cb1
files qemacs-tiny/receipt qemacs-x11/receipt qemacs/receipt
line diff
     1.1 --- a/qemacs-tiny/receipt	Thu Oct 05 23:51:00 2017 +0300
     1.2 +++ b/qemacs-tiny/receipt	Fri Oct 06 17:23:41 2017 +0200
     1.3 @@ -18,7 +18,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	export CFLAGS="-Wno-error=unused-but-set-variable -O2"
     1.9  	sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
    1.10  	./configure --prefix=/usr --enable-tiny &&
     2.1 --- a/qemacs-x11/receipt	Thu Oct 05 23:51:00 2017 +0300
     2.2 +++ b/qemacs-x11/receipt	Fri Oct 06 17:23:41 2017 +0200
     2.3 @@ -14,14 +14,15 @@
     2.4  TAGS="editor"
     2.5  
     2.6  DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
     2.7 -BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
     2.8 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12  {
    2.13 -	cd $src
    2.14 +	export CFLAGS="-Wno-error=unused-but-set-variable -O2"
    2.15 +	sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
    2.16  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.17 -	make CC=gcc-3 -j 1
    2.18 +	make -j 1
    2.19  }
    2.20  
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/qemacs/receipt	Thu Oct 05 23:51:00 2017 +0300
     3.2 +++ b/qemacs/receipt	Fri Oct 06 17:23:41 2017 +0200
     3.3 @@ -12,13 +12,15 @@
     3.4  TAGS="editor"
     3.5  
     3.6  DEPENDS=""
     3.7 -BUILD_DEPENDS="gcc3"
     3.8 +BUILD_DEPENDS=""
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
    3.12  {
    3.13 +	export CFLAGS="-Wno-error=unused-but-set-variable -O2"
    3.14 +	sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
    3.15  	./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS &&
    3.16 -	make CC=gcc-3 -j 1
    3.17 +	make -j 1
    3.18  }
    3.19  
    3.20  # Rules to gen a SliTaz package suitable for Tazpkg.