aboutsummaryrefslogtreecommitdiffstats
path: root/main/imap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-09 09:30:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-09 09:30:41 +0000
commit1de0884b00ee386c313845cddc0163d6685c8cc2 (patch)
tree040b621f72799d6f4ae2efed11c86ec96e5d7fef /main/imap
parentd1392c9bc04edc49d74f3e44e1431ec4e6898d90 (diff)
downloadaports-1de0884b00ee386c313845cddc0163d6685c8cc2.tar.bz2
aports-1de0884b00ee386c313845cddc0163d6685c8cc2.tar.xz
main/imap: avoid text relocations by adding -fPIC
This fixes #202
Diffstat (limited to 'main/imap')
-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