libarchive: Disable iconv the statically-built version
authorJohn Marino <draco@marino.st>
Mon, 30 Sep 2013 21:14:14 +0000 (23:14 +0200)
committerJohn Marino <draco@marino.st>
Mon, 30 Sep 2013 21:19:41 +0000 (23:19 +0200)
commit407e57a61df54ab421966171d45bb302d91070eb
tree045f4f991b2318a05a9d180b60a02bed46f21cdb
parent571fb77dc3411881b7c472d46fa4dbb7ccd2e2d6
libarchive: Disable iconv the statically-built version

The iconv in base uses dlopen(3) which only works on dynamically-built
binaries.  Use the new SHARED_CFLAGS variable to set ICONV conditionally
for dynamic libraries only.  This fixes the "Service Unavailable"
message that pkg started emitting after the locales/iconv update.
lib/libarchive/Makefile
lib/libarchive/config.h