Really make sure libpisock is linked with -lm -- should fix compilation of

dependents that previously died because ldexp(), frexp() were unavailable.
This commit is contained in:
nros 2022-09-25 07:33:14 +00:00
parent 9b3695d9be
commit fd04fd46cc
1 changed files with 6 additions and 2 deletions

View File

@ -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"