Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 20:19:01 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500928 - in head/graphics/libpuzzle: . files
Message-ID:  <201905062019.x46KJ1XR036356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon May  6 20:19:01 2019
New Revision: 500928
URL: https://svnweb.freebsd.org/changeset/ports/500928

Log:
  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

Modified:
  head/graphics/libpuzzle/Makefile
  head/graphics/libpuzzle/files/patch-src_Makefile.am

Modified: head/graphics/libpuzzle/Makefile
==============================================================================
--- head/graphics/libpuzzle/Makefile	Mon May  6 20:06:30 2019	(r500927)
+++ head/graphics/libpuzzle/Makefile	Mon May  6 20:19:01 2019	(r500928)
@@ -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/
 

Modified: head/graphics/libpuzzle/files/patch-src_Makefile.am
==============================================================================
--- head/graphics/libpuzzle/files/patch-src_Makefile.am	Mon May  6 20:06:30 2019	(r500927)
+++ head/graphics/libpuzzle/files/patch-src_Makefile.am	Mon May  6 20:19:01 2019	(r500928)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905062019.x46KJ1XR036356>