summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-20 03:28:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-20 03:28:59 -0500
commit27127b7917b98352703db59967e23688e07a5d24 (patch)
tree3ce143a0d80332a4dd0791b62de96cf5e1ba50e5 /community
parent0481e0aa663ba60cc332ae4b840c9762cd14c419 (diff)
Fix builds of glee and hashcash
Diffstat (limited to 'community')
-rw-r--r--community/glee/PKGBUILD4
-rw-r--r--community/hashcash/PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/community/glee/PKGBUILD b/community/glee/PKGBUILD
index ca0b404fb..928cb04b8 100644
--- a/community/glee/PKGBUILD
+++ b/community/glee/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glee
pkgver=5.4
pkgrel=4
pkgdesc="Free cross-platform extension loading library for OpenGL."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://elf-stone.com/glee.php"
license=('BSD')
depends=('gcc-libs' 'libgl')
@@ -17,7 +17,7 @@ md5sums=('0bd03db136dbc075488b6c6e83f326ae')
build() {
cd "$srcdir"
- [ "$CARCH" = 'x86_64' ] && export CXXFLAGS="$CXXFLAGS -fPIC"
+ [ "$CARCH" != 'i686' ] && export CXXFLAGS="$CXXFLAGS -fPIC"
./configure --prefix=/usr
make
diff --git a/community/hashcash/PKGBUILD b/community/hashcash/PKGBUILD
index a77ea64ff..431c03627 100644
--- a/community/hashcash/PKGBUILD
+++ b/community/hashcash/PKGBUILD
@@ -15,10 +15,10 @@ md5sums=('31fae207061841dffc7b90ee18e3d0fa')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- if [ "${CARCH}" = "x86_64" ]; then
- make generic-openssl
- else
+ if [ "${CARCH}" = "i686" ]; then
make x86-openssl
+ else
+ make generic-openssl
fi
install -Dm755 hashcash ${pkgdir}/usr/bin/hashcash
install -Dm755 sha1 ${pkgdir}/usr/bin/sha1