Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Whois 4.7.26 issues under Solaris 10
Date: Wed, 06 Aug 2008 15:44:53
Message-Id: 20080806154449.GT1416@gentoo.org
In Reply to: [gentoo-alt] Whois 4.7.26 issues under Solaris 10 by Marius Konitzer
1 On 06-08-2008 11:36:29 +0200, Marius Konitzer wrote:
2 > @@ -39,7 +40,13 @@
3 >
4 > src_compile() {
5 > tc-export CC
6 > - emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
7 > + append-flags "-DHAVE_GETOPT_LONG=1"
8 > + [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnls -lsocket"
9 > + if use nls ; then
10 > + append-flags '-DENABLE_NLS=1 -DLOCALEDIR="\"${EPREFIX}/usr/share/locale/\""'
11 > + append-ldflags "-lintl"
12 > + fi
13 > + emake HAVE_LIBIDN=1 || die
14
15 You skip the OPTS="${CFLAGS}" here, has that any reason? Feels like
16 this was necessary to make the build system respect our CFLAGS.
17
18
19 --
20 Fabian Groffen
21 Gentoo on a different level