pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Fix build
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Sun Sep 18 18:16:41 2022 +0200
Changeset: 519dc6738f7a373da6ce64a9cbe89e388348ae10
Modified Files:
gettext-rs/Makefile
Log Message:
Fix build
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=519dc6738f7a373da6ce64a9cbe89e388348ae10
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gettext-rs/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diffs:
diff --git a/gettext-rs/Makefile b/gettext-rs/Makefile
index 39fb4bb0e6..3a4f848181 100644
--- a/gettext-rs/Makefile
+++ b/gettext-rs/Makefile
@@ -10,13 +10,17 @@ COMMENT= GNU Gettext FFI binding for Rust
LICENSE= mit
# gettext-rs = { version = "0.7", features = ["gettext-system"] }
-CARGO_FEATURES= gettext-system
+#CARGO_FEATURES= gettext-system
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
-
USE_LANGUAGES+= c c++
+MAKE_ENV+= GETTEXT_DIR=${PREFIX}
+MAKE_ENV+= GETTEXT_SYSTEM=enabled
+
+TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools
+
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index