Description: Remove unused linking with libfl
 Due to the yylex requirement this caused FTBFS
 when a shared libfl is provided.
Author: Adrian Bunk <bunk@debian.org>

--- mccs-1.1.orig/makefile
+++ mccs-1.1/makefile
@@ -52,7 +52,7 @@ endif
 
 # to make mccs solver
 mccs:  $(OBJS) libccudf.a
-	$(CCC) -o mccs $(OBJS) -lfl -L. -lccudf \
+	$(CCC) -o mccs $(OBJS) -L. -lccudf \
 		$(CPXLD) \
 		$(GUROBILD) \
 		$(LPSOLVELD) \
@@ -60,7 +60,7 @@ mccs:  $(OBJS) libccudf.a
 
 # to make a light version of mccs solver which does not include libccudf
 mccs-light:  $(OBJS) libccudf.so
-	$(CCC) -o mccs $(OBJS) -lfl -L. -lccudf -Wl,-rpath,$(PWD) \
+	$(CCC) -o mccs $(OBJS) -L. -lccudf -Wl,-rpath,$(PWD) \
 		$(CPXLD) \
 		$(GUROBILD) \
 		$(LPSOLVELD) \
@@ -68,7 +68,7 @@ mccs-light:  $(OBJS) libccudf.so
 
 # to make a static version of mccs solver (cannot be done with Gurobi: no static library)
 mccs-static: $(OBJS) libccudf.a
-	$(CCC) -o mccs -static $(OBJS) -lfl -L. -lccudf \
+	$(CCC) -o mccs -static $(OBJS) -L. -lccudf \
 		$(CPXLD) \
 		$(LPSOLVELD) \
 		$(GLPKLD) \
