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>
This commit is contained in:
kamil 2016-09-11 14:44:29 +00:00
parent 26f56b5963
commit 29d5ebd2e0
3 changed files with 17 additions and 2 deletions

View file

@ -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"

View file

@ -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

View file

@ -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}