1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +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 PORTNAME= pango
PORTVERSION= 0.16 PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= x11-toolkits CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v1.3/ \ MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v1.3/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \
@ -24,7 +25,13 @@ USE_X_PREFIX= yes
USE_LIBTOOL= yes USE_LIBTOOL= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-qt=no 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" LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>