svn commit: r497289 - head/graphics/libpano13/files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Mar 30 17:24:00 UTC 2019
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)
More information about the svn-ports-all
mailing list