aboutsummaryrefslogtreecommitdiffstats
path: root/main/imap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/imap/APKBUILD')
-rw-r--r--main/imap/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD
index d8dd4fe890..14c1ac72f6 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