aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gai
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-04-10 13:56:28 +0800
committermarcus <marcus@FreeBSD.org>2009-04-10 13:56:28 +0800
commit06fff123f04648e578283b13f71108c1671ae751 (patch)
treee04217d1bf9d69846902902125c156a81eae643b /x11-toolkits/gai
parentf488e4c3be8f7b25040ce1258e89a5550fb33bf8 (diff)
downloadfreebsd-ports-gnome-06fff123f04648e578283b13f71108c1671ae751.tar.gz
freebsd-ports-gnome-06fff123f04648e578283b13f71108c1671ae751.tar.zst
freebsd-ports-gnome-06fff123f04648e578283b13f71108c1671ae751.zip
Presenting GNOME 2.26 for FreeBSD. See
http://library.gnome.org/misc/release-notes/2.26/ for a list of what's new. On the FreeBSD front, we introduced a port of libxul 1.9 as an alternative for Firefox 2.0 as a Gecko provider. Almost all of the Gecko consumers can make use of this provider by setting: WITH_GECKO=libxul The GNOME 2.26 port was done by ahze, kwm, marcus, and mezz with contributions by Joseph S. Atkinson, Peter Wemm, Eric L. Chen, Martin Matuska, Craig Butler, and Pawel Worach.
Diffstat (limited to 'x11-toolkits/gai')
-rw-r--r--x11-toolkits/gai/Makefile3
-rw-r--r--x11-toolkits/gai/files/patch-gai_Makefile.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile
index 9f1a26991742..06c4e6f38667 100644
--- a/x11-toolkits/gai/Makefile
+++ b/x11-toolkits/gai/Makefile
@@ -22,7 +22,8 @@ USE_GL= gl
USE_SDL= sdl
USE_GNOME= gnomepanel
GNU_CONFIGURE= yes
-CONFIGURE_ENV= SDLCONF=${SDL_CONFIG}
+CONFIGURE_ENV= SDLCONF=${SDL_CONFIG} \
+ CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`"
PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \
lib/libgai.so.0 lib/libgai.so libdata/pkgconfig/gai.pc \
diff --git a/x11-toolkits/gai/files/patch-gai_Makefile.in b/x11-toolkits/gai/files/patch-gai_Makefile.in
index 11088b83c594..047c61c98d80 100644
--- a/x11-toolkits/gai/files/patch-gai_Makefile.in
+++ b/x11-toolkits/gai/files/patch-gai_Makefile.in
@@ -5,7 +5,7 @@
# Makefile for the General Applet Interface Library
-CFLAGS += -Wall -O2 -I.. @GTK_CFLAGS@ @SDL_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@
-+CFLAGS += -Wall -fPIC -I.. @GTK_CFLAGS@ @SDL_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@
++CFLAGS += -Wall -fPIC -I.. @GTK_CFLAGS@ @SDL_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@ @CPPFLAGS@
-LDFLAGS += -g -fPIC -L/usr/X11R6/lib -lX11 @SYSTEM_SPECIFIC_LIBS@ @GTK_LIBS@ @GTHREAD_CFLAGS@ @PANGO_CFLAGS@
+LDFLAGS += -fPIC -L$(LOCALBASE)/lib -lX11 @SYSTEM_SPECIFIC_LIBS@ @GTK_LIBS@ @GTHREAD_CFLAGS@ @PANGO_CFLAGS@