Skip to content

Commit

Permalink
w3m{,-img}: needs -lm on Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Jun 21, 2023
1 parent 4df0c47 commit 00324aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 00324aa

Please sign in to comment.