Summary: | sys-devel/gettext: fails to bootstrap | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | i.Dark_Templar <idarktemplar> |
Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | idarktemplar |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
gettext-0.19.4.ebuild |
Description
i.Dark_Templar
2015-03-28 09:31:40 UTC
Created attachment 399928 [details]
build.log
Created attachment 399930 [details]
gettext-0.19.4.ebuild
Fixed ebuild.
$ diff -u /usr/{portage,local/portage_crossdev}/sys-devel/gettext/gettext-0.19.4.ebuild
--- /usr/portage/sys-devel/gettext/gettext-0.19.4.ebuild 2015-03-19 23:01:18.000000000 +0300
+++ /usr/local/portage_crossdev/sys-devel/gettext/gettext-0.19.4.ebuild 2015-03-28 12:23:44.000000000 +0300
@@ -13,7 +13,7 @@
LICENSE="GPL-3 LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="acl -cvs doc emacs git java nls +cxx ncurses openmp static-libs elibc_glibc elibc_musl"
+IUSE="acl build -cvs doc emacs git java nls +cxx ncurses openmp static-libs elibc_glibc elibc_musl"
# only runtime goes multilib
DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
@@ -97,6 +97,12 @@
)
fi
+ if use build && [[ ${USERLAND} == "BSD" ]] ; then
+ # needed for bootsrap, there is no libintl.h in system yet
+ append-cflags "-I${BUILD_DIR}/gettext-runtime/intl"
+ append-cxxflags "-I${BUILD_DIR}/gettext-runtime/intl"
+ fi
+
econf "${myconf[@]}"
}
*-fbsd is gone. |