summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-08-01 11:23:05 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-08-01 11:23:05 -0500
commitcf497bae36c786854ef02b89f2fd3fa716665f2e (patch)
treed488e14054ee62d4767a1d22a2f5e827b35ad83e
parent7f6fa22d3932abdb150d9a9ff5d8b90189f37fdb (diff)
Fix build in libpano13
-rw-r--r--extra/libpano13/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/libpano13/PKGBUILD b/extra/libpano13/PKGBUILD
index e40504be1..1ca765d69 100644
--- a/extra/libpano13/PKGBUILD
+++ b/extra/libpano13/PKGBUILD
@@ -7,10 +7,10 @@ pkgver=2.9.18
pkgrel=3
pkgdesc='Basic library to calculate panoramical pictures - core functions of the panotools'
url='http://panotools.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libpng' 'libtiff')
-makedepends=('jdk7-openjdk')
+[ "$CARCH" != "mips64el" ] && makedepends=('jdk7-openjdk')
source=("http://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz")
sha1sums=('23849bdbdfc9176a2b53d157e58bd24aa0e7276e')
@@ -18,7 +18,8 @@ options=('!libtool')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME}
+ [ "$CARCH" != "mips64el" ] && extra=--with-java=${JAVA_HOME}
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
make
}