pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/muon



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed Mar 12 10:03:45 UTC 2025

Modified Files:
        pkgsrc/devel/muon: Makefile

Log Message:
devel/muon: Unbreak build for macOS

Limit linking of librt to Linux (required for glibc <2.17).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/muon/Makefile

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

Modified files:

Index: pkgsrc/devel/muon/Makefile
diff -u pkgsrc/devel/muon/Makefile:1.2 pkgsrc/devel/muon/Makefile:1.3
--- pkgsrc/devel/muon/Makefile:1.2      Mon Feb 17 15:37:44 2025
+++ pkgsrc/devel/muon/Makefile  Wed Mar 12 10:03:45 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2025/02/17 15:37:44 micha Exp $
+# $NetBSD: Makefile,v 1.3 2025/03/12 10:03:45 micha Exp $
 
 DISTNAME=              0.4.0
 PKGNAME=               muon-${DISTNAME}
@@ -19,8 +19,8 @@ USE_CC_FEATURES=      c99
 CFLAGS+=               -DBOOTSTRAP_NO_SAMU
 DEPENDS+=              samurai>=1.2:../../devel/samurai
 
-# Required by some platforms for clock_gettime()
-LDFLAGS+=              -lrt
+# Required for clock_gettime() from GNU libc <2.17
+LDFLAGS.Linux+=                -lrt
 
 MUON_ARGS+=            -Dlibcurl=disabled
 MUON_ARGS+=            -Dlibarchive=disabled



Home | Main Index | Thread Index | Old Index