From 81bda76b65f4eff0ad0d0e9d07c9e23c23086cd7 Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Fri, 20 May 2011 20:11:23 +0000 Subject: [PATCH] - correct "datadir" and "mandir" of the configure call. Fixes #513. --- app-editors/vim/patches/vim-7.3.patch | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app-editors/vim/patches/vim-7.3.patch b/app-editors/vim/patches/vim-7.3.patch index 97888c733..80f7a7cf2 100644 --- a/app-editors/vim/patches/vim-7.3.patch +++ b/app-editors/vim/patches/vim-7.3.patch @@ -35,16 +35,22 @@ diff -Naur vim73/Makefile vim73.haiku/Makefile unixall: dist prepare -rm -f dist/$(VIMVER).tar.bz2 -rm -rf dist/$(VIMRTDIR) -@@ -576,3 +589,20 @@ +@@ -576,3 +589,26 @@ farsi: dist dist/$(COMMENT_FARSI) -rm -f dist/farsi$(VERSION).zip zip -9 -rD -z dist/farsi$(VERSION).zip farsi < dist/$(COMMENT_FARSI) + +haiku_package: dist dist/$(COMMENT_HAIKU) + -rm -rf dist/boot/ -+ ./configure --prefix=/boot/common --with-features=big --with-compiledby="$(COMPILEDBY)" ++ ./configure --prefix=/boot/common \ ++ --datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \ ++ --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ ++ --with-features=big --with-compiledby="$(COMPILEDBY)" + make clean; make install DESTDIR=`pwd`/dist -+ ./configure --prefix=/boot/common --with-features=big --disable-gui --with-compiledby="$(COMPILEDBY)" ++ ./configure --prefix=/boot/common \ ++ --datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \ ++ --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ ++ --with-features=big --disable-gui --with-compiledby="$(COMPILEDBY)" + make clean; make install DESTDIR=`pwd`/dist + -mkdir -p dist/boot/common/data/licenses + -cp runtime/doc/uganda.txt dist/boot/common/data/licenses/vim