ports/graphics/libpuzzle/files/patch-src_Makefile.am
Tobias Kortkamp dfab812f09 graphics/libpuzzle: Fixup r496850 and fix build of sysutils/ftwin on CURRENT
It is not puzzle-diff that needs to be linked with libm, but
libpuzzle.

ld: error: /usr/local//lib/libpuzzle.so: undefined reference to round

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p500844_s347134/logs/errors/ftwin-0.8.8_4.log
2019-05-06 20:19:01 +00:00

11 lines
234 B
Text

--- src/Makefile.am.orig 2009-03-24 14:01:25 UTC
+++ src/Makefile.am
@@ -3,6 +3,8 @@ lib_LTLIBRARIES = \
libpuzzle_la_LDFLAGS = -version-info 1:0
+libpuzzle_la_LIBADD = -lm
+
libpuzzle_la_SOURCES = \
puzzle.c \
tunables.c \