summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-09-11 14:44:29 +0000
committerkamil <kamil@pkgsrc.org>2016-09-11 14:44:29 +0000
commitb3879d6a4e989df374bf554a76eda4d6435cbbd7 (patch)
tree6d2c2cfdb0e3355582193af80aad8dd566de57ab /games
parent4c3c8a4957febd2e2a30db6914e99f16ed759cb5 (diff)
downloadpkgsrc-b3879d6a4e989df374bf554a76eda4d6435cbbd7.tar.gz
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 (limited to 'games')
-rw-r--r--games/violetland/Makefile3
-rw-r--r--games/violetland/distinfo3
-rw-r--r--games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake13
3 files changed, 17 insertions, 2 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index a07ce6b351b..0a62e4d63ed 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -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 @@ LICENSE= gnu-gpl-v3 AND cc-by-sa-v3.0
USE_CMAKE= yes
USE_LANGUAGES= c c++
+USE_TOOLS+= xgettext
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
diff --git a/games/violetland/distinfo b/games/violetland/distinfo
index 303fdcebbc4..efd876cafff 100644
--- a/games/violetland/distinfo
+++ b/games/violetland/distinfo
@@ -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 --git a/games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake b/games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake
new file mode 100644
index 00000000000..45dbd2a18ea
--- /dev/null
+++ b/games/violetland/patches/patch-lib_CMake-Gettext_GettextTranslate.cmake
@@ -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}