# HG changeset patch # User Pascal Bellard # Date 1357556395 -3600 # Node ID 39acb734f2638228b31a514b327e51c70dc82481 # Parent ded01e3a36b7282c25e7ebee8129664c30684a2f chemtool: add LDFLAGS diff -r ded01e3a36b7 -r 39acb734f263 chemtool/receipt --- a/chemtool/receipt Mon Jan 07 11:36:36 2013 +0100 +++ b/chemtool/receipt Mon Jan 07 11:59:55 2013 +0100 @@ -15,10 +15,11 @@ # Rules to configure and make the package. compile_rules() { + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -29,10 +30,10 @@ $fs/usr/share/examples/chemtool # Binary file. - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr # French locale, pixmap and menu. - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + cp -a $install/usr/share/locale/fr $fs/usr/share/locale cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps # Examples.