Fix the build with GCC 4.x.
Reported by: pointyhat via kris
This commit is contained in:
parent
d3f0ec5007
commit
6c059a5542
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188401
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue