wok rev 17759
hsetroot, wbar: link with libX11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:31:24 2015 +0100 (2015-03-10) |
parents | cb18a67a7ff6 |
children | f7863f6b5888 |
files | hsetroot/receipt wbar/receipt |
line diff
1.1 --- a/hsetroot/receipt Tue Mar 10 08:20:59 2015 +0100 1.2 +++ b/hsetroot/receipt Tue Mar 10 08:31:24 2015 +0100 1.3 @@ -21,6 +21,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.8 ./configure \ 1.9 $CONFIGURE_ARGS && 1.10 make && make install
2.1 --- a/wbar/receipt Tue Mar 10 08:20:59 2015 +0100 2.2 +++ b/wbar/receipt Tue Mar 10 08:31:24 2015 +0100 2.3 @@ -18,8 +18,8 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - cd $src 2.8 patch -p0 < $stuff/gcc43_fixes.diff || return 1 2.9 + sed -i 's|^LDFLAGS.*|& -lX11|' Makefile 2.10 make && 2.11 mkdir -p $DESTDIR/usr/share/wbar/iconpack $DESTDIR/usr/bin && 2.12 cp wbar $DESTDIR/usr/bin &&