summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-03-29 23:20:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-03-29 23:20:33 +0000
commit1dd6598b05ee8aefe949e1977fdc5713000e4f18 (patch)
tree9fa2e7e440add43a6aac41051dfce391c3490a6b /x11
parentUpdate to 2.7.3 (diff)
Replace the bison dependency by byacc
It reduces the number of build dependencies required (bison requires gettext) Also note that byacc is in base since FreeBSD 10.0
Notes
Notes: svn path=/head/; revision=412141
Diffstat (limited to 'x11')
-rw-r--r--x11/xstroke/Makefile3
-rw-r--r--x11/xstroke/files/patch-Imakefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 53252c5dce60..b9690bd143b2 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -13,7 +13,8 @@ COMMENT= Fullscreen gesture recognition
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USES= bison imake
+USES= imake
+BUILD_DEPENDS= byacc:devel/byacc
USE_XORG= xft x11 xext xi xtst
PLIST_FILES= bin/xstroke %%ETCDIR%%/alphabet man/man1/xstroke.1.gz
diff --git a/x11/xstroke/files/patch-Imakefile b/x11/xstroke/files/patch-Imakefile
index 8c632e41a45f..ed0491b879b4 100644
--- a/x11/xstroke/files/patch-Imakefile
+++ b/x11/xstroke/files/patch-Imakefile
@@ -9,7 +9,7 @@
-LOCAL_LIBRARIES=$(XTESTLIB) $(XLIB) $(XRENDERLIB) $(XFTLIB) -lm -ldl -lpthread
+LOCAL_LIBRARIES=$(XTESTLIB) $(XLIB) $(XRENDERLIB) $(XFTLIB) -lm $(LDFLAGS)
FLEX=flex
-+YACC=bison -y
++YACC=byacc
OBJS=xstroke.o args.o backing.o bresenham.o brush.o control_win.o stroke.o matrix.o \
action.o action_item.o feature.o gesture.o log.o option.o sprintf_alloc.o \
rec.o rec_callback.o rec_history.o rec_lex.o rec_mode.o rec_parse.o \