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:           Mon Apr  7 12:00:32 UTC 2025

Modified Files:
        pkgsrc/devel/muon: Makefile

Log Message:
devel/muon: Build fix for SmartOS

ld: fatal: unrecognized option '--as-needed'
ld: fatal: use the -z help option for usage information


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 pkgsrc/devel/muon/Makefile:1.5
--- pkgsrc/devel/muon/Makefile:1.4      Fri Mar 14 11:53:40 2025
+++ pkgsrc/devel/muon/Makefile  Mon Apr  7 12:00:32 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2025/03/14 11:53:40 micha Exp $
+# $NetBSD: Makefile,v 1.5 2025/04/07 12:00:32 micha Exp $
 
 DISTNAME=              0.4.0
 PKGNAME=               muon-${DISTNAME}
@@ -23,6 +23,10 @@ DEPENDS+=            samurai>=1.2:../../devel/samu
 # Required for clock_gettime() from GNU libc <2.17
 LDFLAGS.Linux+=                -lrt
 
+# [On SmartOS] ld: fatal: unrecognized option '--as-needed'
+BUILDLINK_TRANSFORM.SunOS+=    opt:-Wl,--as-needed:-Wl,-zignore
+BUILDLINK_TRANSFORM.SunOS+=    opt:-Wl,--no-as-needed:-Wl,-zrecord
+
 MUON_ARGS+=            -Dlibcurl=disabled
 MUON_ARGS+=            -Dlibarchive=disabled
 MUON_ARGS+=            -Dlibpkgconf=enabled



Home | Main Index | Thread Index | Old Index