Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 05:37:12 +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: r501361 - head/graphics/librasterlite2
Message-ID:  <201905120537.x4C5bCjX063140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun May 12 05:37:12 2019
New Revision: 501361
URL: https://svnweb.freebsd.org/changeset/ports/501361

Log:
  graphics/librasterlite2: Explicitly link with libm and fix build after base r345349
  
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to floor
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to atan2
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to cos
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to sin
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to tan
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to atan
  ld: error: /wrkdirs/usr/ports/graphics/librasterlite2/work/librasterlite2-1.0.0-rc0/src/.libs/librasterlite2.so: undefined reference to pow
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501065_s347375/logs/errors/librasterlite2-1.0.0_4.log
  
  https://www.gaia-gis.it/fossil/librasterlite2/info/961e1780c4f016bc

Modified:
  head/graphics/librasterlite2/Makefile

Modified: head/graphics/librasterlite2/Makefile
==============================================================================
--- head/graphics/librasterlite2/Makefile	Sun May 12 04:26:03 2019	(r501360)
+++ head/graphics/librasterlite2/Makefile	Sun May 12 05:37:12 2019	(r501361)
@@ -40,6 +40,6 @@ CONFIGURE_ENV+=	LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzm
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-LIBS+=		-lsqlite3
+LIBS+=		-lsqlite3 -lm
 
 .include <bsd.port.mk>



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