Commit c3c01e5e authored by Natanael Copa's avatar Natanael Copa

main/imap: avoid text relocations by adding -fPIC

This fixes #202
(cherry picked from commit 1de0884b)
parent 38739dd1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment