pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/pilot-link-libs Really make sure libpisock is li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccab42852eb3
branches:  trunk
changeset: 385712:ccab42852eb3
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun Sep 25 07:33:14 2022 +0000

description:
Really make sure libpisock is linked with -lm -- should fix compilation of
dependents that previously died because ldexp(), frexp() were unavailable.

diffstat:

 comms/pilot-link-libs/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 90430b5df2e7 -r ccab42852eb3 comms/pilot-link-libs/Makefile
--- a/comms/pilot-link-libs/Makefile    Sun Sep 25 06:35:45 2022 +0000
+++ b/comms/pilot-link-libs/Makefile    Sun Sep 25 07:33:14 2022 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index