svn commit: r542622 - head/textproc/qr
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Jul 20 08:47:37 UTC 2020
Author: pkubaj
Date: Mon Jul 20 08:47:37 2020
New Revision: 542622
URL: https://svnweb.freebsd.org/changeset/ports/542622
Log:
textproc/qr: fix build on GCC architectures
Explicitly link with libm, clang apparently does it by default:
/tmp/cc16FLqR.o:(.text+0x1cc): undefined reference to `sqrt'
Modified:
head/textproc/qr/Makefile
Modified: head/textproc/qr/Makefile
==============================================================================
--- head/textproc/qr/Makefile Mon Jul 20 08:37:48 2020 (r542621)
+++ head/textproc/qr/Makefile Mon Jul 20 08:47:37 2020 (r542622)
@@ -21,7 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= Y2Z
GH_TAGNAME= 20713de
-MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode"
+MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode -lm"
TEST_TARGET= test
PLIST_FILES= bin/${PORTNAME}
More information about the svn-ports-all
mailing list