Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2019 17:23:56 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497289 - head/graphics/libpano13/files
Message-ID:  <201903301723.x2UHNuYN008765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Mar 30 17:23:56 2019
New Revision: 497289
URL: https://svnweb.freebsd.org/changeset/ports/497289

Log:
  graphics/libpano13: fix linking
  
  This fixes the build errors:
  [...]
  ld: error: /wrkdirs/usr/ports/graphics/libpano13/work/libpano13-2.9.19/.libs/libpano13.so: undefined reference to ceil
  ld: error: /wrkdirs/usr/ports/graphics/libpano13/work/libpano13-2.9.19/.libs/libpano13.so: undefined reference to atan
  ld: error: /wrkdirs/usr/ports/graphics/libpano13/work/libpano13-2.9.19/.libs/libpano13.so: undefined reference to tan
  [...]
  by passing -lm to the linker flags for FreeBSD builds.

Modified:
  head/graphics/libpano13/files/patch-Makefile.am

Modified: head/graphics/libpano13/files/patch-Makefile.am
==============================================================================
--- head/graphics/libpano13/files/patch-Makefile.am	Sat Mar 30 17:23:43 2019	(r497288)
+++ head/graphics/libpano13/files/patch-Makefile.am	Sat Mar 30 17:23:56 2019	(r497289)
@@ -1,6 +1,6 @@
---- Makefile.am.orig	2014-02-18 09:04:42.000000000 +1100
-+++ Makefile.am	2015-10-20 17:28:01.000000000 +1100
-@@ -94,13 +94,23 @@
+--- Makefile.am.orig	2019-03-30 16:47:30 UTC
++++ Makefile.am
+@@ -94,13 +94,23 @@ install-exec-hook:
  
  endif
  
@@ -8,15 +8,15 @@
 +if HAVE_FREEBSD
 +LIN_SRC =  sys_ansi.c sys_compat_unix.c ppm.c
 +LIN_DEFS = -D__Ansi__=1
-+LIN_LDFS = -version-info 3:0:0
-+
++LIN_LDFS = -version-info 3:0:0 -lm
+ 
 +install-exec-hook:
 +	@true
 +
 +endif
 +
 +AM_CPPFLAGS = $(JAVA_FLAGS) $(JPEG_FLAGS) $(PNG_FLAGS) $(TIFF_FLAGS) $(ZLIB_FLAGS) $(WIN_DEFS) $(LIN_DEFS) $(DAR_DEFS) $(SOL_DEFS) $(ENDIAN_FLAG) $(FBSD_DEFS)
- 
++
  lib_LTLIBRARIES = libpano13.la
  
 -libpano13_la_SOURCES = $(STD_SRC) $(JAVA_SRC) $(X11_SRC) $(WIN_SRC) $(MAC_SRC) $(LIN_SRC) $(DAR_SRC) $(SOL_SRC)



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