summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2022-09-25 07:33:14 +0000
committernros <nros@pkgsrc.org>2022-09-25 07:33:14 +0000
commit063898f2c5090a81af1bf1684cb95bf558e29f9f (patch)
treebe995a72bc0ff7fde6eeff56e41411fdad0938f4
parent618ab0fa653b9ec08efba0b125c5c8970e1ad2d7 (diff)
downloadpkgsrc-063898f2c5090a81af1bf1684cb95bf558e29f9f.tar.gz
Really make sure libpisock is linked with -lm -- should fix compilation of
dependents that previously died because ldexp(), frexp() were unavailable.
-rw-r--r--comms/pilot-link-libs/Makefile8
1 files 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"