diff options
author | nectar <nectar@FreeBSD.org> | 2004-04-13 02:34:49 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-04-13 02:34:49 +0800 |
commit | 9cca22034f99edf897903dc9abce9853b9b35868 (patch) | |
tree | 91ad6295168965ebb15f12119097d6115305526e /japanese/im-ja | |
parent | b42de0abfd391d938bbb5b4b6ce14ae969b9b32c (diff) | |
download | freebsd-ports-gnome-9cca22034f99edf897903dc9abce9853b9b35868.tar.gz freebsd-ports-gnome-9cca22034f99edf897903dc9abce9853b9b35868.tar.zst freebsd-ports-gnome-9cca22034f99edf897903dc9abce9853b9b35868.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
Diffstat (limited to 'japanese/im-ja')
-rw-r--r-- | japanese/im-ja/Makefile | 4 | ||||
-rw-r--r-- | japanese/im-ja/files/patch-intltool-merge.in | 13 |
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); |