mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.1255: building desktop files fails on FreeBSD
Problem: Building desktop files fails on FreeBSD. (Adam Weinberger) Solution: Avoid using non-portable construct in Makefile. (closes #4332)
This commit is contained in:
@@ -165,9 +165,13 @@ $(PACKAGE).pot: ../*.c ../if_perl.xs ../GvimExt/gvimext.cpp ../globals.h ../if_p
|
||||
po/gvim.desktop.in po/vim.desktop.in
|
||||
mv -f ../$(PACKAGE).po $(PACKAGE).pot
|
||||
|
||||
%.desktop: %.desktop.in $(POFILES)
|
||||
vim.desktop: vim.desktop.in $(POFILES)
|
||||
@echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS
|
||||
$(MSGFMT) --desktop -d . --template $< -o $@
|
||||
$(MSGFMT) --desktop -d . --template vim.desktop.in -o vim.desktop
|
||||
|
||||
gvim.desktop: gvim.desktop.in $(POFILES)
|
||||
@echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS
|
||||
$(MSGFMT) --desktop -d . --template gvim.desktop.in -o gvim.desktop
|
||||
|
||||
update-po: $(LANGUAGES)
|
||||
|
||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1255,
|
||||
/**/
|
||||
1254,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user