summaryrefslogtreecommitdiff
path: root/community/gpsmanshp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gpsmanshp/PKGBUILD')
-rw-r--r--community/gpsmanshp/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/gpsmanshp/PKGBUILD b/community/gpsmanshp/PKGBUILD
index 89cfa99af..d700d7b35 100644
--- a/community/gpsmanshp/PKGBUILD
+++ b/community/gpsmanshp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gpsmanshp
pkgver=1.2.1
pkgrel=3
pkgdesc="A Tcl package to read and write shapefiles"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gpsmanshp.sourceforge.net/"
license=('GPL')
depends=('glibc' 'shapelib' 'tcl')
@@ -17,6 +17,7 @@ build() {
mv Makefile8.5 Makefile
sed -i -e "s:shapefil.h:libshp/shapefil.h:g" gpsmanshp.c
+ sed -i -e 's:$(LINKOPT) gpsmanshp.o:gpsmanshp.o $(LINKOPT):' Makefile
install -d "$srcdir/${pkgname}_$pkgver/usr/lib/"