aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2004-04-12 18:34:49 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2004-04-12 18:34:49 +0000
commit5afa8bc68273a7119690a987b03ffb9060769882 (patch)
tree20810e2e2788dae6297436463ac4fe5601aaecde /japanese
parent332eeead313752161d9c6a45f867195ca140342a (diff)
downloadports-5afa8bc68273a7119690a987b03ffb9060769882.tar.gz
ports-5afa8bc68273a7119690a987b03ffb9060769882.zip
Perl is required at build time for internationalization.
Patch the included intltool-merge script so that it works with older perl. Submitted by: ume
Notes
Notes: svn path=/head/; revision=106823
Diffstat (limited to 'japanese')
-rw-r--r--japanese/im-ja/Makefile4
-rw-r--r--japanese/im-ja/files/patch-intltool-merge.in13
2 files changed, 16 insertions, 1 deletions
diff --git a/japanese/im-ja/Makefile b/japanese/im-ja/Makefile
index 16e3a3cb7fe0..0ec91229ce5b 100644
--- a/japanese/im-ja/Makefile
+++ b/japanese/im-ja/Makefile
@@ -16,6 +16,7 @@ COMMENT= A Japanese input module for GTK2
OPTIONS+= CANNA "Use Canna" on
OPTIONS+= WNN "Use FreeWnn" on
+USE_PERL5_BUILD= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
@@ -25,7 +26,8 @@ GNU_CONFIGURE= yes
LIBS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
CPPFLAGS+= -DNO_MALLOC_H
-CONFIGURE_ENV= LIBS="${LIBS}" CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= LIBS="${LIBS}" CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= INTLTOOL_PERL="${PERL}"
MAN1= im-ja-conf.1 im-ja-xim-server.1
diff --git a/japanese/im-ja/files/patch-intltool-merge.in b/japanese/im-ja/files/patch-intltool-merge.in
new file mode 100644
index 000000000000..ff71b98d11ef
--- /dev/null
+++ b/japanese/im-ja/files/patch-intltool-merge.in
@@ -0,0 +1,13 @@
+Index: intltool-merge.in
+diff -u intltool-merge.in.orig intltool-merge.in
+--- intltool-merge.in.orig Sun Mar 21 07:05:57 2004
++++ intltool-merge.in Tue Apr 13 02:35:42 2004
+@@ -976,7 +976,7 @@
+ if ($MULTIPLE_OUTPUT) {
+ for my $lang (sort keys %po_files_by_lang) {
+ if ( ! -e $lang ) {
+- mkdir $lang or die "Cannot create subdirectory $lang: $!\n";
++ mkdir $lang, 0777 or die "Cannot create subdirectory $lang: $!\n";
+ }
+ open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n";
+ my $tree = readXml($FILE);