aboutsummaryrefslogtreecommitdiffstats
path: root/main/poppler-qt4
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-09 11:26:48 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-09 11:26:48 +0000
commitec1c0313f0d4e9dc7cca19421c0f60ce084797b6 (patch)
tree027931a0772125d60ba3cf3a49bc7353ab40d938 /main/poppler-qt4
parentf90a26bb941beb6f8ce592d9a34515c26a55415d (diff)
downloadaports-ec1c0313f0d4e9dc7cca19421c0f60ce084797b6.tar.bz2
aports-ec1c0313f0d4e9dc7cca19421c0f60ce084797b6.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/poppler-qt4')
-rw-r--r--main/poppler-qt4/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/poppler-qt4/APKBUILD b/main/poppler-qt4/APKBUILD
index 7874197552..bd3c937647 100644
--- a/main/poppler-qt4/APKBUILD
+++ b/main/poppler-qt4/APKBUILD
@@ -29,12 +29,15 @@ replaces="poppler-glib"
depends_dev="$makedepends"
source="http://poppler.freedesktop.org/poppler-$pkgver.tar.gz"
+_builddir="$srcdir/$_realname-$pkgver"
+
prepare() {
- return 0
+ cd "$_builddir"
+ update_config_sub || return 1
}
build() {
- cd "$srcdir"/$_realname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -54,7 +57,7 @@ build() {
}
package() {
- cd "$srcdir"/$_realname-$pkgver
+ cd "$_builddir"
install -D -m644 poppler-qt4.pc "$pkgdir"/usr/lib/pkgconfig/poppler-qt4.pc
cd qt4
make DESTDIR="$pkgdir" install || return 1