pkgsrc/comms/pilot-link-libs/Makefile
nros fd04fd46cc Really make sure libpisock is linked with -lm -- should fix compilation of
dependents that previously died because ldexp(), frexp() were unavailable.
2022-09-25 07:33:14 +00:00

27 lines
714 B
Makefile

# $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= 5
COMMENT= Libraries for talking to the 3Com Pilot PDA
CONFLICTS+= pilot-link<0.9.5
MAKE_ENV+= PILIB="libsock/libpisock.la"
MAKE_ENV+= PICCLIB="libcc/libpicc.a"
.if !empty(MACHINE_PLATFORM:MIRIX-5.3-*)
CONFIGURE_ENV+= ac_cv_header_inttypes_h="no"
.endif
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"