summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/imap/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD
index d8dd4fe89..14c1ac72f 100644
--- a/main/imap/APKBUILD
+++ b/main/imap/APKBUILD
@@ -5,7 +5,7 @@
# build it shared
pkgname=imap
pkgver=2007e
-pkgrel=0
+pkgrel=1
pkgdesc="An IMAP/POP server"
url="http://www.washington.edu/imap"
license="APACHE"
@@ -24,7 +24,8 @@ build ()
-i src/osdep/unix/Makefile || return 1
export GCCCFLAGS="$CFLAGS"
- make slx SPECIALAUTHENTICATORS=ssl || return 1
+ make slx SPECIALAUTHENTICATORS=ssl EXTRACFLAGS="$CFLAGS -fPIC" \
+ || return 1
mkdir -p $pkgdir/usr/sbin
install -D -m755 imapd/imapd $pkgdir/usr/sbin/imapd