pkgsrc-WIP-changes archive

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

muon: Link against librt



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Sep 27 12:11:59 2024 +0200
Changeset:	36a9459c5106ac5edb451bbbabdf6d3473538665

Modified Files:
	muon/Makefile

Log Message:
muon: Link against librt

Required by some plaforms for clock_gettime().

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=36a9459c5106ac5edb451bbbabdf6d3473538665

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

diffstat:
 muon/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/muon/Makefile b/muon/Makefile
index debd293afa..fa722f0d12 100644
--- a/muon/Makefile
+++ b/muon/Makefile
@@ -8,16 +8,20 @@ DIST_SUBDIR=		${PKGNAME_NOREV}
 DISTFILES=		${DEFAULT_DISTFILES} man.tar.gz
 SITES.man.tar.gz=	https://muon.build/releases/v${DISTNAME}/docs/
 
-MAINTAINER=	micha%NetBSD.org@localhost
-HOMEPAGE=	https://git.sr.ht/~lattis/muon
-COMMENT=	Implementation of meson build system in C99 with minimal dependencies
-LICENSE=	gnu-gpl-v3
+MAINTAINER=		micha%NetBSD.org@localhost
+HOMEPAGE=		https://git.sr.ht/~lattis/muon
+COMMENT=		Implementation of meson build system in C99 with minimal dependencies
+LICENSE=		gnu-gpl-v3
 
 USE_CC_FEATURES=	c99
 
+# Use external samurai
 CFLAGS+=		-DBOOTSTRAP_NO_SAMU
 TOOL_DEPENDS+=		samurai>=1.2:../../devel/samurai
 
+# Required by some platforms for clock_gettime()
+LDFLAGS+=		-lrt
+
 WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 


Home | Main Index | Thread Index | Old Index