diff options
author | ade <ade@FreeBSD.org> | 2001-06-05 12:59:15 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2001-06-05 12:59:15 +0800 |
commit | d9e0170ef69892a048ba21f9af3f7bbd79a25926 (patch) | |
tree | 599e5313d76fa8d53dfc9f53d9d18d301c40de6c /x11-toolkits | |
parent | f2affdee8e10c93bca239d009aeb9c0422fa02fe (diff) | |
download | freebsd-ports-graphics-d9e0170ef69892a048ba21f9af3f7bbd79a25926.tar.gz freebsd-ports-graphics-d9e0170ef69892a048ba21f9af3f7bbd79a25926.tar.zst freebsd-ports-graphics-d9e0170ef69892a048ba21f9af3f7bbd79a25926.zip |
Hack around some oddities when header files conflicting with glib-2.0
headers are present.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/pango/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index 1a14cef8665..1c4c082d8cd 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -7,6 +7,7 @@ PORTNAME= pango PORTVERSION= 0.16 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v1.3/ \ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \ @@ -24,7 +25,13 @@ USE_X_PREFIX= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --with-qt=no -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + +# Hmm.. tough one. Found this one when I had graphics/hdf installed +# (which installs glist.h) which is picked up before the glib-2.0 +# stuff, with Bad Results[tm] +# +GLIB2_CFLAGS= `pkg-config glib-2.0 --cflags` +CONFIGURE_ENV= CPPFLAGS="${GLIB2_CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" .include <bsd.port.pre.mk> |