pkgsrc/chat/weechat/patches/patch-po_CMakeLists.txt
tonio 86ea237acd Update chat/weechat to 1.2
Based on the update provided by he@

Among the new features:
- add options to customize word chars (for detecting word boundaries)
- add a welcome message on first WeeChat run
- add options to customize quoted messages (in cursor mode)
- add support of environment variables in evaluated expressions
- add IRC SASL mechanism "ecdsa-nist256p-challenge"
- add support of SHA-256 and SHA-512 algorithms in IRC server option "ssl_fingerprint"
- add support of IRC capability "account-notify"
- remove "freenode" server from default config
- new script plugin for javascript
- many bugs fixed.
2015-08-01 19:10:15 +00:00

15 lines
1.1 KiB
Text

$NetBSD: patch-po_CMakeLists.txt,v 1.4 2015/08/01 19:10:15 tonio Exp $
Drop package-name and package-version args to xgettext.
--- po/CMakeLists.txt.orig 2014-08-15 08:09:01.000000000 +0000
+++ po/CMakeLists.txt
@@ -56,7 +56,7 @@ if(XGETTEXT_EXECUTABLE AND MSGMERGE_EXEC
add_custom_command(
OUTPUT ${POT_FILE_PATH}
COMMAND ${XGETTEXT_EXECUTABLE}
- ARGS -o ${POT_FILE_PATH} --add-comments='TRANSLATORS:' --keyword='_' --keyword='weechat_gettext' --keyword='N_' --keyword='NG_:1,2' --keyword='weechat_ngettext:1,2' --no-location --from-code=UTF-8 --directory=${CMAKE_SOURCE_DIR} --package-name='WeeChat' --package-version=${VERSION} --msgid-bugs-address=${BUGS_ADDRESS} --copyright-holder='NAME' ${SRC_FILES}
+ ARGS -o ${POT_FILE_PATH} --add-comments='TRANSLATORS:' --keyword='_' --keyword='weechat_gettext' --keyword='N_' --keyword='NG_:1,2' --keyword='weechat_ngettext:1,2' --no-location --from-code=UTF-8 --directory=${CMAKE_SOURCE_DIR} --msgid-bugs-address=${BUGS_ADDRESS} --copyright-holder='NAME' ${SRC_FILES}
DEPENDS ${POT_DEPENDS}
COMMENT "Generating ${POT_FILE}"
)