public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/debhelper/files: debhelper-7.0.9-conditional-nls.patch
@ 2008-05-29 15:35 Yuri Vasilevski (yvasilev)
  0 siblings, 0 replies; 2+ messages in thread
From: Yuri Vasilevski (yvasilev) @ 2008-05-29 15:35 UTC (permalink / raw
  To: gentoo-commits

yvasilev    08/05/29 15:35:11

  Added:                debhelper-7.0.9-conditional-nls.patch
  Log:
  Merge from app-arch/debhelper (Bug #223979) and version dump.
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.1                  dev-util/debhelper/files/debhelper-7.0.9-conditional-nls.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/debhelper/files/debhelper-7.0.9-conditional-nls.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/debhelper/files/debhelper-7.0.9-conditional-nls.patch?rev=1.1&content-type=text/plain

Index: debhelper-7.0.9-conditional-nls.patch
===================================================================
diff -Naurp debhelper.orig/Makefile debhelper/Makefile
--- debhelper.orig/Makefile	2008-05-04 14:57:07.000000000 -0500
+++ debhelper/Makefile	2008-05-15 16:31:34.000000000 -0500
@@ -27,8 +27,12 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri
 
 POD2MAN=pod2man -c Debhelper -r "$(VERSION)"
 
+ifeq ($(USE_NLS),yes)
 # l10n to be built is determined from .po files
-LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
+LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
+else
+LANGS=
+endif
 
 build: version
 	find . -maxdepth 1 -type f -perm +100 -name "dh*" \
@@ -36,6 +40,7 @@ build: version
 	cat debhelper.pod | \
 		$(MAKEMANLIST) `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
 		$(POD2MAN) --name="debhelper" --section=7  > debhelper.7
+ifeq ($(USE_NLS),yes)
 	po4a man/po4a/po4a.cfg 
 	set -e; \
 	for lang in $(LANGS); do \
@@ -48,6 +53,7 @@ build: version
 			$(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \
 			$(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
 	done
+endif
 
 version:
 	printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-util/debhelper/files: debhelper-7.0.9-conditional-nls.patch
@ 2012-04-01 19:04 Jeroen Roovers (jer)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2012-04-01 19:04 UTC (permalink / raw
  To: gentoo-commits

jer         12/04/01 19:04:59

  Removed:              debhelper-7.0.9-conditional-nls.patch
  Log:
  Old.
  
  (Portage version: 2.2.0_alpha97/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-01 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 15:35 [gentoo-commits] gentoo-x86 commit in dev-util/debhelper/files: debhelper-7.0.9-conditional-nls.patch Yuri Vasilevski (yvasilev)
  -- strict thread matches above, loose matches on Subject: below --
2012-04-01 19:04 Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox