Skip to content

Commit

Permalink
app-admin/gam-server: Fix for Prefix and Solaris
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20-prefix
  • Loading branch information
grobian committed Aug 19, 2015
1 parent be3e265 commit ffaa7c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app-admin/gam-server/gam-server-0.1.10-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ffaa7c1

Please sign in to comment.