pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc spdlog: Reduce size of hammer to bring in external fmt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/15a317feeec1
branches: trunk
changeset: 388982:15a317feeec1
user: nia <nia%pkgsrc.org@localhost>
date: Mon Nov 28 14:38:53 2022 +0000
description:
spdlog: Reduce size of hammer to bring in external fmtlib.
Some dependent packages link fine without fmtlib (eg. libixion)
and fmtlib ending up in their libtool file is causing problems
of its own.
This way only packages that are including those relevant fmtlib
symbols need to be explicitly linked against fmtlib.
diffstat:
devel/spdlog/buildlink3.mk | 3 +--
games/nxengine-evo/Makefile | 4 +++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 5823a9d1be71 -r 15a317feeec1 devel/spdlog/buildlink3.mk
--- a/devel/spdlog/buildlink3.mk Mon Nov 28 14:25:45 2022 +0000
+++ b/devel/spdlog/buildlink3.mk Mon Nov 28 14:38:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2022/11/26 13:47:13 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2022/11/28 14:38:53 nia Exp $
BUILDLINK_TREE+= spdlog
@@ -11,7 +11,6 @@
# Support the use of SPDLOG_FMT_EXTERNAL.
# Sometimes tweakme.h is not properly applied...
BUILDLINK_CPPFLAGS.spdlog+= -DSPDLOG_FMT_EXTERNAL
-BUILDLINK_LDFLAGS.spdlog+= -lfmt
.include "../../textproc/fmtlib/buildlink3.mk"
.endif # SPDLOG_BUILDLINK3_MK
diff -r 5823a9d1be71 -r 15a317feeec1 games/nxengine-evo/Makefile
--- a/games/nxengine-evo/Makefile Mon Nov 28 14:25:45 2022 +0000
+++ b/games/nxengine-evo/Makefile Mon Nov 28 14:38:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/09/11 12:51:45 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/11/28 14:38:53 nia Exp $
PKGNAME= nxengine-evo-2.6.5.1
PKGREVISION= 4
@@ -20,6 +20,8 @@
USE_TOOLS+= pax
USE_LANGUAGES= c c++
+LDFLAGS+= -lfmt
+
WRKSRC= ${WRKDIR}/nxengine-evo-2.6.5-1
ALL_ENV+= SDL2DIR=${PREFIX}
Home |
Main Index |
Thread Index |
Old Index