netbsd-curses: add -fPIC to CFLAGS

This commit is contained in:
Lukas Rusak 2017-06-14 22:35:07 -07:00
parent 030b19b0d4
commit 01d5921106
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -26,6 +26,10 @@ PKG_SECTION="devel"
PKG_SHORTDESC="netbsd-libcurses portable edition"
PKG_LONGDESC="netbsd-libcurses portable edition"
pre_make_target() {
CFLAGS="$CFLAGS -fPIC"
}
make_target() {
make HOSTCC="$HOST_CC" PREFIX=/usr all-static
}