aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-02-08 21:06:37 +0800
committerthierry <thierry@FreeBSD.org>2014-02-08 21:06:37 +0800
commitc243aa66f87b3b910c15c55ec8b3f5cb9d7c896d (patch)
treedcd98cbfd8f18f578e93067a9e38acd3fdecf6b7 /x11
parent4d210acca31730d596f323a2cd52417c11b00d2c (diff)
downloadfreebsd-ports-gnome-c243aa66f87b3b910c15c55ec8b3f5cb9d7c896d.tar.gz
freebsd-ports-gnome-c243aa66f87b3b910c15c55ec8b3f5cb9d7c896d.tar.zst
freebsd-ports-gnome-c243aa66f87b3b910c15c55ec8b3f5cb9d7c896d.zip
Don't force Gcc when MOUSEWHEEL is disabled.
PR: ports/186107 Submitted by: Zsolt Udvari <udvzsolt (at) gmail.com>
Diffstat (limited to 'x11')
-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