Modified the pathnames.h file to put use haiku specific directories, some of these may be wrong, so more changes probably to come

This commit is contained in:
Scott McCreary
2010-03-27 03:31:19 +00:00
parent 3c83a9175b
commit 18f3008d8e
3 changed files with 201 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ STATUS_HAIKU="stable"
DEPEND="openssl"
CHECKSUM_MD5="da10af8a789fa2e83e3635f3a1b76f5e"
BUILD {
cp ../patches/pathnames-haiku.h openssh-5.4p1/pathnames.h
cd openssh-5.4p1
mkdir -p m4
cp /boot/common/share/aclocal/libtool.m4 m4
@@ -14,11 +15,11 @@ BUILD {
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.ac
libtoolize --force --copy --install
libtoolize --force --copy
aclocal -I m4
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--sbindir=`finddir B_COMMON_DIRECTORY`/sbin \
--sbindir=`finddir B_COMMON_BIN_DIRECTORY` \
--bindir=`finddir B_COMMON_BIN_DIRECTORY` \
--libexecdir=`finddir B_COMMON_LIB_DIRECTORY` \
--sysconfdir=`finddir B_USER_SETTINGS_DIRECTORY`/ssh \
@@ -27,6 +28,18 @@ BUILD {
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--mandir=`finddir B_COMMON_DIRECTORY`/man \
--docdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \
--sysconfdir=`finddir B_COMMON_SETTINGS_DIRECTORY`/ssh \
--sharedstatedir=/boot/home/1 \
--localstatedir=/boot/home/2 \
--includedir=/boot/home/3 \
--oldincludedir=/boot/home/4 \
--datarootdir=/boot/home/5 \
--infodir=/boot/home/6 \
--localedir=/boot/home/7 \
--htmldir=/boot/home/8 \
--dvidir=/boot/home/9 \
--pdfdir=/boot/home/10 \
--psdir=/boot/home/11 \
--with-md5-passwords
make
}