xcolorsel: respect LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-06-20 22:56:24 +02:00
parent 1c7217d981
commit de85bc1bcf

View file

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