summaryrefslogtreecommitdiff
path: root/community/makedev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/makedev/PKGBUILD')
-rw-r--r--community/makedev/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/makedev/PKGBUILD b/community/makedev/PKGBUILD
index bb21237d9..882035c9d 100644
--- a/community/makedev/PKGBUILD
+++ b/community/makedev/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=makedev
pkgver=3.23_1
pkgrel=1
pkgdesc='The ubiquitous script to create static device nodes'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url='http://people.redhat.com/nalin/MAKEDEV/'
source=("http://people.redhat.com/nalin/MAKEDEV/MAKEDEV-${pkgver//_/-}.tar.gz")
@@ -15,6 +15,7 @@ md5sums=('554faf6cbc9a84e4bd58ccfa32d74e2f')
build() {
cd ${pkgname^^*}-${pkgver/_*}
+ sed -ri 's/^OPTFLAGS.*/& '"$CFLAGS"'/' Makefile
make
}