aboutsummaryrefslogtreecommitdiff
path: root/x11/libgnomekbd
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-03-26 17:21:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-03-26 17:21:14 +0000
commit6c059a55423f6a7961f0b838828d7c5eeed62405 (patch)
tree9852c3736d491a87749478a41c1a211e69ed8ad4 /x11/libgnomekbd
parentd3f0ec500755648b3037b8315802c3dd0e0fcb0e (diff)
downloadports-6c059a55423f6a7961f0b838828d7c5eeed62405.tar.gz
ports-6c059a55423f6a7961f0b838828d7c5eeed62405.zip
Fix the build with GCC 4.x.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=188401
Diffstat (limited to 'x11/libgnomekbd')
-rw-r--r--x11/libgnomekbd/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/libgnomekbd/Makefile b/x11/libgnomekbd/Makefile
index 91137118ae34..f8af4e34b56b 100644
--- a/x11/libgnomekbd/Makefile
+++ b/x11/libgnomekbd/Makefile
@@ -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>