# $Id$ PNAME="luit" PVER="1.1.1" PBUILD="r3" PCAT="x11-apps" DESCRIPTION="Locale and ISO 2022 support for Unicode terminals." HOMEPAGE="http://xorg.freedesktop.org" DEPEND=">= x11-libs/libX11-1.4 >= x11-libs/libfontenc-1" SDEPEND=">= virtual/sed" sminclude xorg src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes build with gcc-4.8 # posix_openpt() call needs POSIX 2004, see gentoo bug #415949 sed -i 's/-D_XOPEN_SOURCE=500/-D_XOPEN_SOURCE=600/' configure.ac || die mautoreconf || die }