summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 19:12:49 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 19:12:49 -0300
commitbec28dc4c2b27367a6625c2246b166d0b7867694 (patch)
treecfc7a6e30172fe794ca7bc19e1260b050b6bfcb3
parent5b2ad43ab7f024586dd11699d1902d3e561d2930 (diff)
libmilter port
-rw-r--r--community/libmilter/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/libmilter/PKGBUILD b/community/libmilter/PKGBUILD
index 6256f409f..dd73bbe83 100644
--- a/community/libmilter/PKGBUILD
+++ b/community/libmilter/PKGBUILD
@@ -6,11 +6,12 @@ pkgname=libmilter
pkgver=8.14.6
pkgrel=1
pkgdesc="libmilter"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.postfix.org/MILTER_README.html"
license=('custom:Sendmail open source license')
source="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${pkgver}.tar.gz"
md5sums=('9eeed3d1baecbf4e17d829d2ec005553')
+options=(staticlibs)
build(){
cd "${srcdir}/sendmail-${pkgver}"
@@ -27,7 +28,7 @@ dnl Enable IPv6
APPENDDEF(\`conf_libmilter_ENVDEF',\`-DNETINET6=1')
dnl
dnl Include our CFLAGS
-APPENDDEF(\`conf_libmilter_ENVDEF',\`${CFLAGS}')
+APPENDDEF(\`conf_libmilter_ENVDEF',\`${CFLAGS/-Wa,-mfix-loongson2f-nop/}')
dnl
dnl Add -fPIC
APPENDDEF(\`conf_libmilter_ENVDEF',\`-fPIC')