pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/berry berry: build fix: add -lm to LDFLAGS for ceil()



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6238669aaf71
branches:  trunk
changeset: 445318:6238669aaf71
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 19 22:48:41 2021 +0000

description:
berry: build fix: add -lm to LDFLAGS for ceil()

diffstat:

 wm/berry/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e9824d6fce28 -r 6238669aaf71 wm/berry/Makefile
--- a/wm/berry/Makefile Tue Jan 19 22:44:26 2021 +0000
+++ b/wm/berry/Makefile Tue Jan 19 22:48:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/12/05 14:49:46 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/01/19 22:48:41 nia Exp $
 
 DISTNAME=      berry-0.1.7
 CATEGORIES=    wm x11
@@ -18,6 +18,9 @@
 MAKE_FLAGS+=   X11LIB=${X11BASE}/lib
 MAKE_FLAGS+=   FREETYPEINC=${BUILDLINK_PREFIX.freetype2}/include
 
+# needed for ceil()
+LDFLAGS+=      -lm
+
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"



Home | Main Index | Thread Index | Old Index