opnsense-ports/devel/kBuild/files/patch-Config.mk
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
320 B
Makefile

--- Config.kmk.orig 2011-08-05 14:26:26.000000000 +0200
+++ Config.kmk 2011-08-05 14:27:04.000000000 +0200
@@ -105,6 +105,9 @@
if1of ($(KBUILD_TARGET), openbsd)
TOOL_FLEX_LEX = gflex
endif
+if1of ($(KBUILD_TARGET), freebsd)
+ TOOL_FLEX_LEX = %%LOCALBASE%%/bin/flex
+endif
#
# The OS and Architecture indicators.