summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro@gentoo.gr.jp>2013-10-18 21:39:24 +0900
committerYuta SATOH <nigoro@gentoo.gr.jp>2013-10-18 21:39:24 +0900
commitd39c2e956873e483638e20160c677bad01a871ea (patch)
tree5d8a3e0147f8776394addc341cddb595d3c31e6c /sys-freebsd/freebsd-share
parentfreebsd-share-10.9999_p256420: clean up. (diff)
downloadgentoo-bsd-d39c2e956873e483638e20160c677bad01a871ea.tar.gz
gentoo-bsd-d39c2e956873e483638e20160c677bad01a871ea.tar.bz2
gentoo-bsd-d39c2e956873e483638e20160c677bad01a871ea.zip
freebsd-{lib,share,ubin}-10.9999_p256420: drop WITHOUT_ICONV=.
Currently, will build BSD-licensed libiconv. libiconv.so is not created by default. But, I found a package(dev-vcs/git) -liconv is hard-coded... Similar package may exist other, but I don't have the time to test. Instead of test, I added WITH_LIBICONV_COMPAT=yes option to create a libiconv.so.
Diffstat (limited to 'sys-freebsd/freebsd-share')
-rw-r--r--sys-freebsd/freebsd-share/freebsd-share-10.9999_p256420.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-share/freebsd-share-10.9999_p256420.ebuild b/sys-freebsd/freebsd-share/freebsd-share-10.9999_p256420.ebuild
index 0ca8b65..c7fa4d9 100644
--- a/sys-freebsd/freebsd-share/freebsd-share-10.9999_p256420.ebuild
+++ b/sys-freebsd/freebsd-share/freebsd-share-10.9999_p256420.ebuild
@@ -35,7 +35,7 @@ pkg_setup() {
use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= "
use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
- mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= WITHOUT_ICONV= "
+ mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= "
}
REMOVE_SUBDIRS="mk termcap zoneinfo tabset"
@@ -83,9 +83,19 @@ src_unpack() {
src_compile() {
export ESED="/usr/bin/sed"
+ # libiconv support.
+ # i18n/csmapper/APPLE requires mkcsmapper_static
+ # i18n/esdb/APPLE requires mkesdb_static
+ for pkg in mkcsmapper_static mkesdb_static
+ do
+ cd "${WORKDIR}"/usr.bin/${pkg}
+ freebsd_src_compile
+ done
+
# This is a groff problem and not a -shared problem.
+ cd "${S}"
export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.22.2/tmac/"
- freebsd_src_compile || die "emake failed"
+ freebsd_src_compile -j1 || die "emake failed"
}
src_install() {