Description: Add -lm to fix ftbfs with binutils-gold
Author: Angel Abad <angelabad@ubuntu.com>
Bug-Ubuntu: https://launchpad.net/bugs/771117

--- a/src/makefile
+++ b/src/makefile
@@ -102,7 +102,7 @@
 	$(if $(NE_ANSI),    -DTERMCAP -DANSI,)
 
 
-LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
+LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses -lm)
 
 ne:	$(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
 	$(CC) -lm $(OPTS) $(LDFLAGS) $(if $(NE_TEST), -coverage,) $^ $(LIBS) -o $(PROGRAM)
