pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/violetland Appease xgettext(1) - stop passing un...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f1b72600976
branches:  trunk
changeset: 352244:7f1b72600976
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Sep 11 14:44:29 2016 +0000

description:
Appease xgettext(1) - stop passing unsupported options

xgettext(1) 0.16.1 does not accept --package-version and --package-name

Reported on NetBSD.
Noted by <joerg>

diffstat:

 games/violetland/Makefile                                               |   3 +-
 games/violetland/distinfo                                               |   3 +-
 games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake |  13 ++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 6444a346e3ab -r 7f1b72600976 games/violetland/Makefile
--- a/games/violetland/Makefile Sun Sep 11 14:39:42 2016 +0000
+++ b/games/violetland/Makefile Sun Sep 11 14:44:29 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/07/27 21:14:36 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/09/11 14:44:29 kamil Exp $
 
 DISTNAME=      violetland-0.5-source-with-dependencies
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -14,6 +14,7 @@
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
+USE_TOOLS+=    xgettext
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
diff -r 6444a346e3ab -r 7f1b72600976 games/violetland/distinfo
--- a/games/violetland/distinfo Sun Sep 11 14:39:42 2016 +0000
+++ b/games/violetland/distinfo Sun Sep 11 14:44:29 2016 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.1 2016/07/27 21:14:36 kamil Exp $
+$NetBSD: distinfo,v 1.2 2016/09/11 14:44:29 kamil Exp $
 
 SHA1 (violetland-0.5-source-with-dependencies.tar.gz) = eb42e647e6ee7473835f0a2c47abb99dd19f4ae4
 RMD160 (violetland-0.5-source-with-dependencies.tar.gz) = 25115e79a8355261ede62c78b5f9794ab2ea6d09
 SHA512 (violetland-0.5-source-with-dependencies.tar.gz) = 9b00fa600332c956c49bc5906f373c0dfff08a13320617014942ac4dbc199de8f84bef87ed218b38812ae3c53622e9148aa4463c4ea219056360bff1c73b7f88
 Size (violetland-0.5-source-with-dependencies.tar.gz) = 11495885 bytes
+SHA1 (patch-lib_CMake-Gettext_GettextTranslate.cmake) = 569cc6476dbac487f603fb666fe372e79cd4f43d
 SHA1 (patch-src_program.cpp) = f06e7935d2cf8cd23dd3ab9c75990f8b289476cd
 SHA1 (patch-src_system_utility_FileUtility.cpp) = d6663de57b76121dc4f84b8e7ed20e93134940b4
diff -r 6444a346e3ab -r 7f1b72600976 games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake   Sun Sep 11 14:44:29 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_CMake-Gettext_GettextTranslate.cmake,v 1.1 2016/09/11 14:44:30 kamil Exp $
+
+--- lib/CMake-Gettext/GettextTranslate.cmake.orig      2016-07-27 09:04:19.000000000 +0000
++++ lib/CMake-Gettext/GettextTranslate.cmake
+@@ -189,8 +189,6 @@ macro(GettextTranslate)
+       --msgid-bugs-address="${MAKEVAR_MSGID_BUGS_ADDRESS}"
+       --directory=${MAKEVAR_top_builddir}
+       --files-from=${CMAKE_CURRENT_BINARY_DIR}/POTFILES
+-      --package-version=${VERSION}
+-      --package-name=${CMAKE_PROJECT_NAME}
+     DEPENDS ${source_translatable}
+     ${CMAKE_CURRENT_SOURCE_DIR}/POTFILES.in
+     WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}



Home | Main Index | Thread Index | Old Index