mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Initial bep and patch files for libelf, provided by munchausen
This commit is contained in:
22
dev-libs/libelf/libelf-0.8.13.bep
Normal file
22
dev-libs/libelf/libelf-0.8.13.bep
Normal file
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION="libelf - ELF object file access library"
|
||||
HOMEPAGE="http://www.mr511.de/software/english.html"
|
||||
SRC_URI="http://www.mr511.de/software/libelf-0.8.13.tar.gz"
|
||||
CHECKSUM_MD5="4136d7b4c04df68b686570afa26988ac"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd libelf-0.8.13
|
||||
libtoolize -fci
|
||||
autoreconf
|
||||
./configure --enable-gnu-names --prefix=$(finddir B_COMMON_DIRECTORY)
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd libelf-0.8.13
|
||||
make install instroot=$DESTDIR
|
||||
make install-compat instroot=$DESTDIR
|
||||
}
|
||||
LICENSE="GNU LGPL v2"
|
||||
COPYRIGHT="1995-2008 Michael Riepe"
|
||||
25
dev-libs/libelf/patches/libelf-0.8.13.patch
Normal file
25
dev-libs/libelf/patches/libelf-0.8.13.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff -Naur libelf-0.8.13/aclocal.m4 libelf-0.8.13-haiku/aclocal.m4
|
||||
--- libelf-0.8.13/aclocal.m4 2008-05-23 08:17:56.050593792 +0000
|
||||
+++ libelf-0.8.13-haiku/aclocal.m4 2012-08-21 14:55:07.622854144 +0000
|
||||
@@ -235,7 +235,7 @@
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_PATH_PROG(LD, ld, ld)
|
||||
case "$host" in
|
||||
- *-linux*|*-gnu*)
|
||||
+ *-linux*|*-gnu*|*-haiku*)
|
||||
if test "$GCC" = yes; then
|
||||
mr_TARGET_ELF
|
||||
if test "$mr_cv_target_elf" = yes; then
|
||||
@@ -248,7 +248,11 @@
|
||||
SONAME_SFX='.so.$(MAJOR)'
|
||||
LINK_SHLIB='$(CC) -shared -Wl,-soname,$(SONAME)'
|
||||
INSTALL_SHLIB='$(INSTALL_PROGRAM)'
|
||||
- DEPSHLIBS='-lc'
|
||||
+ case "$host" in
|
||||
+ *-linux*|*-gnu*)
|
||||
+ DEPSHLIBS='-lc'
|
||||
+ ;;
|
||||
+ esac
|
||||
else
|
||||
AC_MSG_WARN([shared libraries not supported for $host])
|
||||
mr_enable_shared=no
|
||||
Reference in New Issue
Block a user