1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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
This commit is contained in:
Tobias Kortkamp 2019-05-06 20:19:01 +00:00
parent 6db4daa059
commit dfab812f09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500928
2 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= libpuzzle
PORTVERSION= 0.11
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/

View File

@ -1,11 +1,11 @@
--- src/Makefile.am.orig 2009-03-24 14:01:25 UTC
+++ src/Makefile.am
@@ -32,7 +32,7 @@ puzzle_diff_SOURCES = \
puzzle.h
@@ -3,6 +3,8 @@ lib_LTLIBRARIES = \
puzzle_diff_LDADD = \
- libpuzzle.la
+ libpuzzle.la -lm
libpuzzle_la_LDFLAGS = -version-info 1:0
TESTS = \
regress_1 \
+libpuzzle_la_LIBADD = -lm
+
libpuzzle_la_SOURCES = \
puzzle.c \
tunables.c \