Enable building this on powerpc by disabling gcc optimizations on that

arch.  Should be revisited later.
Add missing USE_LIBTOOL.
This commit is contained in:
ajacoutot 2009-09-19 13:11:16 +00:00
parent 9966a5559b
commit 70d957075b

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.49 2009/08/11 08:42:07 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.50 2009/09/19 13:11:16 ajacoutot Exp $
COMMENT= themed window manager
DISTNAME= e16-0.16.8.15
PKGNAME= enlightenment-0.16.8.15p0
PKGNAME= enlightenment-0.16.8.15p1
DOCS= e16-docs-0.16.8.0.2
THEMES= e16-themes-0.16.8.0.3
@ -33,10 +33,20 @@ MODULES= devel/gettext
LIB_DEPENDS= esd.>=2::audio/esound \
Imlib2.>=2::graphics/imlib2
# XXX disable optimization on powerpc:
# src/hints.c: In function `EHintsGetInfo':
# src/hints.c:471: internal compiler error: in verify_local_live_at_start,
# at flow.c:601
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -O0
.endif
SEPARATE_BUILD= concurrent
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"