diff --git a/srcpkgs/xcolorsel/template b/srcpkgs/xcolorsel/template index 2aa3dc59ada..37afcb45071 100644 --- a/srcpkgs/xcolorsel/template +++ b/srcpkgs/xcolorsel/template @@ -1,7 +1,7 @@ # Template file for 'xcolorsel' pkgname=xcolorsel version=1.1a -revision=2 +revision=3 wrksrc="${pkgname}-${version}.orig" build_style=gnu-makefile make_build_args="HELPFILE=/usr/share/X11/Xcolorsel.help" @@ -21,3 +21,6 @@ do_configure() { xmkmf -a -DHasSELinux=0 -DUseConfDirForAppDefaults=0 sed -i '/INSTALL/s,\$(XPALDIR)/Xcolorsel.help,$(HELPFILE),' Makefile } +pre_build() { + export LOCAL_LDFLAGS="$LDFLAGS" +}