wok-6.x rev 13683

ghex: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 29 17:58:46 2012 +0100 (2012-11-29)
parents 5525af80165f
children 3c7348ca269f
files ghex/receipt
line diff
     1.1 --- a/ghex/receipt	Thu Nov 29 10:44:06 2012 +0100
     1.2 +++ b/ghex/receipt	Thu Nov 29 17:58:46 2012 +0100
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="samuel_trassare@yahoo.com"
     1.5  WEB_SITE="http://directory.fsf.org/wiki/Ghex"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$TARBALL"
     1.8 +WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.9  
    1.10  DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
    1.11  BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
    1.12 @@ -17,6 +17,8 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
    1.17 +	
    1.18  	# GHex2 cannot display help without Yelp.  Removing help references.
    1.19  	patch -Np1 -i $stuff/ghex2-remove-help.patch
    1.20