mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Initial .bep and .patch files for erlang. These aren't yet working, but getting pretty far into the build before failing for what
may be missing ipv6 functions. Further changes to the .bep and/or patch file will be required to get this one working.
This commit is contained in:
57
dev-lang/erlang/erlang-R14B.bep
Normal file
57
dev-lang/erlang/erlang-R14B.bep
Normal file
@@ -0,0 +1,57 @@
|
||||
DESCRIPTION="erlang"
|
||||
HOMEPAGE="http://www.erlang.org"
|
||||
SRC_URI="http://www.erlang.org/download/otp_src_R14B.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="5292a04556d17ad528d570e02357dfbb"
|
||||
BUILD {
|
||||
cd otp_src_R14B
|
||||
mkdir -p m4
|
||||
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.in"
|
||||
rm -f erts/autoconf/config.guess
|
||||
rm -f erts/autoconf/config.sub
|
||||
rm -f erts/autoconf/install-sh
|
||||
rm -f erts/autoconf/ltmain.sh
|
||||
cp -v /boot/common/share/libtool/config/config.guess erts/autoconf
|
||||
cp -v /boot/common/share/libtool/config/config.sub erts/autoconf
|
||||
cp -v /boot/common/share/libtool/config/install-sh erts/autoconf
|
||||
cp -v /boot/common/share/libtool/config/ltmain.sh erts/autoconf
|
||||
cp -v /boot/common/share/libtool/config/config.guess lib/common_test/priv/auxdir
|
||||
cp -v /boot/common/share/libtool/config/config.sub lib/common_test/priv/auxdir
|
||||
cp -v /boot/common/share/libtool/config/install-sh lib/common_test/priv/auxdir
|
||||
cp -v /boot/common/share/libtool/config/ltmain.sh lib/common_test/priv/auxdir
|
||||
cp -v /boot/common/share/libtool/config/config.guess lib/erl_interface/src/auxdir
|
||||
cp -v /boot/common/share/libtool/config/config.sub lib/erl_interface/src/auxdir
|
||||
cp -v /boot/common/share/libtool/config/install-sh lib/erl_interface/src/auxdir
|
||||
cp -v /boot/common/share/libtool/config/ltmain.sh lib/erl_interface/src/auxdir
|
||||
cp -v /boot/common/share/libtool/config/config.guess lib/test_server/src
|
||||
cp -v /boot/common/share/libtool/config/config.sub lib/test_server/src
|
||||
cp -v /boot/common/share/libtool/config/install-sh lib/test_server/src
|
||||
cp -v /boot/common/share/libtool/config/ltmain.sh lib/test_server/src
|
||||
cp -v /boot/common/share/aclocal/libtool.m4 m4
|
||||
cp -v /boot/common/share/aclocal/ltoptions.m4 m4
|
||||
cp -v /boot/common/share/aclocal/ltversion.m4 m4
|
||||
cp -v /boot/common/share/aclocal/ltsugar.m4 m4
|
||||
cp -v /boot/common/share/aclocal/lt~obsolete.m4 m4
|
||||
rm -f aclocal.m4
|
||||
# libtoolize --copy --force --install # this fails?! so have to delete and copy files in instead
|
||||
cd lib/test_server/src
|
||||
autoconf
|
||||
cd ../../..
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--with-ssl=`finddir B_COMMON_DIRECTORY` \
|
||||
--disable-ipv6 \
|
||||
LDFLAGS="-lnetwork"
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd otp_src_R14B
|
||||
make install
|
||||
}
|
||||
|
||||
#LICENSE=""
|
||||
#COPYRIGHT=""
|
||||
Reference in New Issue
Block a user