paps: fix --as-needed.

This commit is contained in:
Christian Neukirchen 2014-11-06 20:59:34 +01:00
parent f676369d88
commit 12a9cc4cd4
1 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,10 @@
# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel"
# Disable --as-needed.
make_build_args="LDFLAGS="
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-2"
@ -14,6 +12,10 @@ homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20
post_configure() {
sed -i 's/_LDFLAGS =/_LDADD +=/' src/Makefile
}
paps-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"