From 063898f2c5090a81af1bf1684cb95bf558e29f9f Mon Sep 17 00:00:00 2001 From: nros Date: Sun, 25 Sep 2022 07:33:14 +0000 Subject: Really make sure libpisock is linked with -lm -- should fix compilation of dependents that previously died because ldexp(), frexp() were unavailable. --- comms/pilot-link-libs/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/comms/pilot-link-libs/Makefile b/comms/pilot-link-libs/Makefile index 896acb94d16..106dfdfd9ba 100644 --- a/comms/pilot-link-libs/Makefile +++ b/comms/pilot-link-libs/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.28 2020/08/31 18:06:45 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2022/09/25 07:33:14 nros Exp $ # .include "../../comms/pilot-link/Makefile.common" PKGNAME= pilot-link-libs-${PILOT_LINK_VERS} -PKGREVISION= 4 +PKGREVISION= 5 COMMENT= Libraries for talking to the 3Com Pilot PDA CONFLICTS+= pilot-link<0.9.5 @@ -18,6 +18,10 @@ CONFIGURE_ENV+= ac_cv_header_inttypes_h="no" BUILD_DIRS= include libpisock libpisync +# libpisock uses frexp and ldexp and dependants +# break during linking due to undefined references +LIBS+= -lm + .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/readline.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3