diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-09 09:30:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-09 09:30:41 +0000 |
commit | 1de0884b00ee386c313845cddc0163d6685c8cc2 (patch) | |
tree | 040b621f72799d6f4ae2efed11c86ec96e5d7fef /main/imap/APKBUILD | |
parent | d1392c9bc04edc49d74f3e44e1431ec4e6898d90 (diff) | |
download | aports-1de0884b00ee386c313845cddc0163d6685c8cc2.tar.bz2 aports-1de0884b00ee386c313845cddc0163d6685c8cc2.tar.xz |
main/imap: avoid text relocations by adding -fPIC
This fixes #202
Diffstat (limited to 'main/imap/APKBUILD')
-rw-r--r-- | main/imap/APKBUILD | 5 |
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 |