pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/tint2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Jan  8 15:58:20 UTC 2025

Modified Files:
        pkgsrc/x11/tint2: Makefile

Log Message:
tint2: needs -lm for sqrt(3)


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/x11/tint2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/tint2/Makefile
diff -u pkgsrc/x11/tint2/Makefile:1.84 pkgsrc/x11/tint2/Makefile:1.85
--- pkgsrc/x11/tint2/Makefile:1.84      Fri Dec 27 08:21:04 2024
+++ pkgsrc/x11/tint2/Makefile   Wed Jan  8 15:58:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2024/12/27 08:21:04 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2025/01/08 15:58:20 tnn Exp $
 
 DISTNAME=              tint2-v17.0.2
 PKGNAME=               ${DISTNAME:S/-v/-/}
@@ -34,6 +34,9 @@ CMAKE_CONFIGURE_ARGS.*=               -DENABLE_BATTER
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 CFLAGS.SunOS+=         -Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
 
+# For sqrt(3). Needed on at least Linux and should be harmless elsewhere.
+LDFLAGS+=              -lm
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
                ${DESTDIR}${PREFIX}/share/examples/tint2



Home | Main Index | Thread Index | Old Index