mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Moved docdir and mandir for libpcre to B_COMMON_DOCUMENTATION/doc and
/man directories. Removed check for gcc4 and just set the libdir to B_COMMON_LIB_DIRECTORY
This commit is contained in:
@@ -7,24 +7,35 @@ STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd pcre-8.12
|
||||
if [ -n "$(setgcc | grep '2')" ]; then
|
||||
# if [ -n "$(setgcc | grep '2')" ]; then
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
else
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`/gcc4
|
||||
fi
|
||||
# else
|
||||
# LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`/gcc4
|
||||
# fi
|
||||
libtoolize --force --copy
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=/boot/common --enable-utf8 --enable-unicode-properties --with-pic --libdir=${LIBDIR}
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--enable-utf8 \
|
||||
--enable-unicode-properties \
|
||||
--with-pic \
|
||||
--libdir=${LIBDIR} \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
--docdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc
|
||||
make
|
||||
make check
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd pcre-8.12
|
||||
make install
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd pcre-8.12
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="PCRE"
|
||||
COPYRIGHT="1997-2010 University of Cambridge
|
||||
2007-2010, Google Inc. All rights reserved."
|
||||
|
||||
Reference in New Issue
Block a user