summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice/patches/patch-av')
-rw-r--r--misc/openoffice/patches/patch-av13
1 files changed, 9 insertions, 4 deletions
diff --git a/misc/openoffice/patches/patch-av b/misc/openoffice/patches/patch-av
index 60f552506ff..6a4142cfd4f 100644
--- a/misc/openoffice/patches/patch-av
+++ b/misc/openoffice/patches/patch-av
@@ -1,12 +1,17 @@
-$NetBSD: patch-av,v 1.3 2004/06/03 18:48:17 mrauch Exp $
+$NetBSD: patch-av,v 1.4 2005/10/01 07:00:08 mrauch Exp $
--- ../officecfg/util/makefile.pmk.orig 2004-01-09 19:06:41.000000000 +0100
+++ ../officecfg/util/makefile.pmk
-@@ -103,6 +103,7 @@ $(MISC)$/registry$/res$/{$(alliso)}$/%.p
+@@ -100,9 +100,11 @@ $(MISC)$/registry$/res$/{$(alliso)}$/%.p
+ .IF "$(SOLAR_JAVA)"!=""
+ $(JAVA) -classpath $(SOLARBINDIR)$/xt.jar$(PATH_SEPERATOR)$(SOLARBINDIR)$/parser.jar -Dcom.jclark.xsl.sax.parser=com.sun.xml.parser.Parser com.jclark.xsl.sax.Driver $< $(PRJ)$/util$/resource.xsl $(@:d)$(<:b).properties locale={$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}
+ .ELSE
++ $(SED) 's|$$locale|'"'"'{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}'"'"'|g' <$(PRJ)$/util$/resource.xsl >$(MISC)/resource.{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}.xsl
$(XSLTPROC) -o $(@:d)$(<:b).properties \
--stringparam locale {$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))} \
- $(PRJ)$/util$/resource.xsl $<
-+ $(TOUCH) $(@:d)$(<:b).properties
+- $(PRJ)$/util$/resource.xsl $<
++ $(MISC)/resource.{$(subst,$/$<, $(subst,$(MISC)$/registry$/res$/, $(subst,.properties,.xcs $@)))}.xsl $<
++ $(TOUCH) $(@:d)$(<:b).properties
.ENDIF
# --- XCU ---