From 00324aae139eeeb82cd14513256a7f041134a12d Mon Sep 17 00:00:00 2001 From: schmonz Date: Wed, 21 Jun 2023 15:16:15 +0000 Subject: [PATCH] w3m{,-img}: needs -lm on Solaris. --- www/w3m/Makefile.common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/w3m/Makefile.common b/www/w3m/Makefile.common index 4ba59a905380..a360eeed0679 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.76 2023/04/27 13:26:19 wiz Exp $ +# $NetBSD: Makefile.common,v 1.77 2023/06/21 15:16:15 schmonz Exp $ # # used by www/w3m/Makefile # used by www/w3m-img/Makefile @@ -70,6 +70,10 @@ SUBST_STAGE.fh= pre-configure SUBST_FILES.fh= istream.* SUBST_SED.fh= -e 's/file_handle/file_handle_rofl/g' +.if ${OPSYS} == SunOS && ${OS_VARIANT} == Solaris +LDFLAGS+= -lm +.endif + INSTALLATION_DIRS+= ${DOCDIR} INSTALL_TARGET= install install-helpfile