1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

(1) Try to deinstall some locale directories not listed in BSD.local.dist.

(2) Attempt to fix build on 4.x, whose ancient perl still requires a
    mode argument to mkdir().

PR:		101487
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru> (1), pointyhat (2)
This commit is contained in:
Christian Weisgerber 2006-08-07 16:46:12 +00:00
parent 7a25e0c622
commit 43de3ec587
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170012
3 changed files with 31 additions and 12 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= galculator
PORTVERSION= 1.2.5.2
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- intltool-merge.in.orig
+++ intltool-merge.in
@@ -1007,7 +1007,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";
binmode (OUTPUT) if $^O eq 'MSWin32';

View File

@ -1,22 +1,26 @@
@comment $FreeBSD$
bin/galculator
share/applications/galculator.desktop
share/galculator/glade/about.glade
share/galculator/glade/basic_buttons.glade
share/galculator/glade/color.glade
share/galculator/glade/dispctrl_bottom.glade
share/galculator/glade/dispctrl_right.glade
share/galculator/glade/dispctrl_right_vertical.glade
share/galculator/glade/font.glade
share/galculator/glade/main_frame.glade
share/galculator/glade/prefs.glade
share/galculator/glade/scientific_buttons.glade
%%DATADIR%%/glade/about.glade
%%DATADIR%%/glade/basic_buttons.glade
%%DATADIR%%/glade/color.glade
%%DATADIR%%/glade/dispctrl_bottom.glade
%%DATADIR%%/glade/dispctrl_right.glade
%%DATADIR%%/glade/dispctrl_right_vertical.glade
%%DATADIR%%/glade/font.glade
%%DATADIR%%/glade/main_frame.glade
%%DATADIR%%/glade/prefs.glade
%%DATADIR%%/glade/scientific_buttons.glade
share/locale/de/LC_MESSAGES/galculator.mo
share/locale/fr/LC_MESSAGES/galculator.mo
share/locale/ja/LC_MESSAGES/galculator.mo
share/locale/pl/LC_MESSAGES/galculator.mo
share/locale/pt_BR/LC_MESSAGES/galculator.mo
share/locale/ro/LC_MESSAGES/galculator.mo
@dirrm share/galculator/glade
@dirrm share/galculator
@dirrm %%DATADIR%%/glade
@dirrm %%DATADIR%%
@dirrmtry share/applications
@dirrmtry share/locale/pl/LC_MESSAGES
@dirrmtry share/locale/pl
@dirrmtry share/locale/ro/LC_MESSAGES
@dirrmtry share/locale/ro