Fix the build with GCC 4.x.

Reported by:	pointyhat via kris
This commit is contained in:
Joe Marcus Clarke 2007-03-26 17:21:14 +00:00
parent d3f0ec5007
commit 6c059a5542
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188401

View file

@ -26,9 +26,13 @@ INSTALLS_ICONS= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
GCONF_SCHEMAS= desktop_gnome_peripherals_keyboard_xkb.schemas
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
GCONF_SCHEMAS= desktop_gnome_peripherals_keyboard_xkb.schemas
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-Werror||g'
.include <bsd.port.mk>