1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Hack around some oddities when header files conflicting with glib-2.0

headers are present.
This commit is contained in:
Ade Lovett 2001-06-05 04:59:15 +00:00
parent 5a25039fa8
commit b935812233
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43512

View File

@ -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>