aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-02-08 13:06:37 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-02-08 13:06:37 +0000
commit29b3b5995fd4f9f7a038f34d0b1db7d48e1a4a69 (patch)
treedcd98cbfd8f18f578e93067a9e38acd3fdecf6b7 /x11/rxvt-unicode/Makefile
parentd6b61579156153dc28021acb156e68eadd2bd3bd (diff)
downloadports-29b3b5995fd4f9f7a038f34d0b1db7d48e1a4a69.tar.gz
ports-29b3b5995fd4f9f7a038f34d0b1db7d48e1a4a69.zip
Don't force Gcc when MOUSEWHEEL is disabled.
PR: ports/186107 Submitted by: Zsolt Udvari <udvzsolt (at) gmail.com>
Notes
Notes: svn path=/head/; revision=343325
Diffstat (limited to 'x11/rxvt-unicode/Makefile')
-rw-r--r--x11/rxvt-unicode/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index e2cda7eba747..268f1dbf622f 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses
USES= pkgconfig shebangfix
-USE_GCC= yes # segfaults when trying to scroll with the mouse wheel if clang
USE_XORG= xpm xft xrender
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -129,6 +128,8 @@ CONFIGURE_ARGS+= --disable-delete-key
# enable scrolling via mouse wheel or buttons 4 & 5
.if !${PORT_OPTIONS:MMOUSEWHEEL}
CONFIGURE_ARGS+= --disable-mousewheel
+.else
+USE_GCC= yes # segfaults when trying to scroll with the mouse wheel if clang
.endif
# enable smart resize