summaryrefslogtreecommitdiff
path: root/games/warzone2100/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-27 06:54:53 +0000
committerwiz <wiz@pkgsrc.org>2009-03-27 06:54:53 +0000
commit210df83bc4b45577679d7929c2deeeac43768d8a (patch)
treeb551857add8ea9889393e5000af104707a6850c2 /games/warzone2100/patches
parent1e81548799b91b147a327d2b0719ad2d0e676251 (diff)
downloadpkgsrc-210df83bc4b45577679d7929c2deeeac43768d8a.tar.gz
Add two missing build dependencies, zip and unzip.
Set _TOOLS_USE_PKGSRC.flex so that really the pkgsrc version is pulled in, the NetBSD base version is too old. Avoid recreating the .po files because somehow we end up with msgctxt lines in the files. All buildfixes, so no PKGREVISION++ for now.
Diffstat (limited to 'games/warzone2100/patches')
-rw-r--r--games/warzone2100/patches/patch-ae23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/warzone2100/patches/patch-ae b/games/warzone2100/patches/patch-ae
new file mode 100644
index 00000000000..9bb282bd69b
--- /dev/null
+++ b/games/warzone2100/patches/patch-ae
@@ -0,0 +1,23 @@
+$NetBSD: patch-ae,v 1.1 2009/03/27 06:54:54 wiz Exp $
+
+--- po/Makefile.in.in.orig 2008-12-21 18:41:15.000000000 +0000
++++ po/Makefile.in.in
+@@ -122,7 +122,7 @@ check-macro-version:
+ # if updating the $(CATALOGS) would always touch them; however, the rule for
+ # $(POFILES) has been designed to not touch files that don't need to be
+ # changed.
+-stamp-po: $(srcdir)/$(DOMAIN).pot
++stamp-po: #$(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+@@ -189,7 +189,8 @@ $(srcdir)/$(DOMAIN).pot:
+
+ # This target rebuilds a PO file if $(DOMAIN).pot has changed.
+ # Note that a PO file is not touched if it doesn't need to be changed.
+-$(POFILES): $(srcdir)/$(DOMAIN).pot
++#$(POFILES): $(srcdir)/$(DOMAIN).pot
++bogus1:
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \