Skip to contentSkip to conversation

fmt: new package PATCHv2

PATCH Superseded Semyon Kolganov 2 participants 2 messages Apr 6, 2017

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fmt: new package PATCHv2

---
 package/Config.in     | 2 +-
 package/fmt/Config.in | 5 ++++-
 package/fmt/fmt.mk    | 5 -----
 3 files changed, 5 insertions(+), 7 deletions(-)
package/Config.in +1 -1
index 6f3399f..2bd55ec 100644
@@ -1433,8 +1433,8 @@ endmenu
 menu "Text and terminal handling"
 	source "package/augeas/Config.in"
 	source "package/enchant/Config.in"
-	source "package/icu/Config.in"
 	source "package/fmt/Config.in"
+	source "package/icu/Config.in"
 	source "package/libcli/Config.in"
 	source "package/libedit/Config.in"
 	source "package/libenca/Config.in"
package/fmt/Config.in +4 -1
index 9ce2874..e829f1f 100644
@@ -3,4 +3,7 @@ config BR2_PACKAGE_FMT
 	help
 	  fmt is an open-source formatting library for C++. It can be used
 	  as a safe alternative to printf or as a fast alternative to
-	  IOStreams.
\ No newline at end of file
+	  IOStreams.
+
+comment "fmt needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/fmt/fmt.mk +0 -5
index 47a332d..b7e3db0 100755
@@ -15,9 +15,4 @@ FMT_CONF_OPTS = \
 	-DFMT_INSTALL=ON \
 	-DFMT_TEST=OFF
 
-define FMT_INSTALL_STAGING_CMDS
-	mkdir -p $(STAGING_DIR)/usr/include/fmt
-	cp -dpfr $(@D)/fmt/*.h $(STAGING_DIR)/usr/include/fmt
-endef
-
 $(eval $(cmake-package))
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 fmt: new package PATCHv2

Hello,

Quoted 1 line · Semyon Kolganov

This is not a complete patch: what you have sent here is just the difference compared to your previous version.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com