mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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.
This commit is contained in:
parent
c1c3228780
commit
80b91a88ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497289
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user