aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-09-01 16:41:37 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-09-01 16:41:37 +0000
commit79f23d9e595223d7b150162bf5e4af9df0ad0c94 (patch)
treee726ea9d26dfefc10967de25fc6fc1fc8a34e300
parent722eeda87641c16f0a5bb67e199525bdc617f856 (diff)
downloadports-79f23d9e595223d7b150162bf5e4af9df0ad0c94.tar.gz
ports-79f23d9e595223d7b150162bf5e4af9df0ad0c94.zip
lang/libobjc2: Fix build in 11.3
We need -lm in order to use the ceilf function. PR: 249046 Reported by: brad@facefault.org MFH: 2020Q3 (blanket, build fix)
Notes
Notes: svn path=/head/; revision=547282
-rw-r--r--lang/libobjc2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile
index 7f080f9d5db3..2fc5d05c354b 100644
--- a/lang/libobjc2/Makefile
+++ b/lang/libobjc2/Makefile
@@ -20,6 +20,9 @@ GH_ACCOUNT= gnustep
GH_TUPLE= Tessil:robin-map:757de82:robin_map/third_party/robin-map
USE_LDCONFIG= yes
+
+LDFLAGS+= -lm
+
TEST_TARGET= test
CMAKE_ARGS+= -DLIB_INSTALL_PATH=lib