Fix build with gtk+-2.4.

Reported by:	bento via kris
This commit is contained in:
Joe Marcus Clarke 2004-04-09 03:46:19 +00:00
parent dfd8e50853
commit ebcf708742
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106536

View file

@ -20,7 +20,12 @@ USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui
USE_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -Ee \
's|-D[^[:space:]_]+_DISABLE_DEPRECATED||g'
.include <bsd.port.mk>