summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-08-19 21:38:01 +0200
committerFabian Groffen <grobian@gentoo.org>2015-08-19 21:40:05 +0200
commitffaa7c1eaeda88f94ce54bf282be2476aef0fb8d (patch)
treefd640ce68eac1e17dc8d6f3355ae5c46ffca0a42
parentnet-libs/wt: 3.3.4 stable on amd64 and x86 (diff)
downloadgentoo-ffaa7c1eaeda88f94ce54bf282be2476aef0fb8d.tar.gz
gentoo-ffaa7c1eaeda88f94ce54bf282be2476aef0fb8d.tar.bz2
gentoo-ffaa7c1eaeda88f94ce54bf282be2476aef0fb8d.zip
app-admin/gam-server: Fix for Prefix and Solaris
Package-Manager: portage-2.2.20-prefix
-rw-r--r--app-admin/gam-server/gam-server-0.1.10-r2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-admin/gam-server/gam-server-0.1.10-r2.ebuild b/app-admin/gam-server/gam-server-0.1.10-r2.ebuild
index 5ca1a58f9b63..a699932704b4 100644
--- a/app-admin/gam-server/gam-server-0.1.10-r2.ebuild
+++ b/app-admin/gam-server/gam-server-0.1.10-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-solaris"
IUSE="debug kernel_linux"
RDEPEND=">=dev-libs/glib-2:2
@@ -67,8 +67,12 @@ src_configure() {
# fixes bug 225403
#append-flags "-D_GNU_SOURCE"
+ # Solaris' patchs adds this to configure, but it conflicts with
+ # Gentoo's FreeBSD patch.
+ [[ ${CHOST} == *-solaris* ]] && append-libs socket nsl
+
if ! has_version virtual/pkgconfig; then
- export DAEMON_CFLAGS="-I/usr/include/glib-2.0 -I/usr/$(get_libdir)/glib-2.0/include"
+ export DAEMON_CFLAGS="-I${EPREFIX}/usr/include/glib-2.0 -I${EPREFIX}/usr/$(get_libdir)/glib-2.0/include"
export DAEMON_LIBS="-lglib-2.0"
fi