From: "Maxim Koltsov" <maksbotan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-openbsd:master commit in: sys-libs/libdl/
Date: Mon, 25 Apr 2011 14:09:47 +0000 (UTC) [thread overview]
Message-ID: <42f0d5157ac5339b9d62b7cd9d34813e1254e9e1.maksbotan@gentoo> (raw)
commit: 42f0d5157ac5339b9d62b7cd9d34813e1254e9e1
Author: Maxim <kolmax94 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 25 14:09:14 2011 +0000
Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 14:09:14 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-openbsd.git;a=commit;h=42f0d515
Add libdl
---
sys-libs/libdl/Manifest | 2 +
sys-libs/libdl/libdl-1.1.1.2.ebuild | 38 +++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/sys-libs/libdl/Manifest b/sys-libs/libdl/Manifest
new file mode 100644
index 0000000..d726f8f
--- /dev/null
+++ b/sys-libs/libdl/Manifest
@@ -0,0 +1,2 @@
+DIST libdl.c 2912 RMD160 6fdc4156e8d7f335e3750528d35d4524612a6de8 SHA1 758cb99b7018a7cbd80f253a8b6b3c6a096a9589 SHA256 830401669a6f27d13114f2a7d40da59b80af791f9a262d7f54c868351e22ecaa
+EBUILD libdl-1.1.1.2.ebuild 815 RMD160 4a65519ddfffc51667a210d6874424a45333c478 SHA1 817d623378575493631e3d5d7cf3a4b92fa6e4de SHA256 d009dc646c6285e6dda8e211accc2edfa1378266d34d0c2f3902877159e66a09
diff --git a/sys-libs/libdl/libdl-1.1.1.2.ebuild b/sys-libs/libdl/libdl-1.1.1.2.ebuild
new file mode 100644
index 0000000..e56fdbd
--- /dev/null
+++ b/sys-libs/libdl/libdl-1.1.1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="Dummy libdl.so for systems where dlopen() is builtin into ld.so"
+HOMEPAGE="http://www.gnu-darwin.org/shims/libdl.c"
+SRC_URI="http://www.gnu-darwin.org/shims/libdl.c"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~x86-openbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack(){
+ cp "${DISTDIR}/${A}" "${S}" || die "cp failed"
+}
+
+src_compile(){
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} libdl.c \
+ -shared \
+ -Wl,--soname=libdl.so.1 \
+ -fPIC \
+ -o libdl.so.1 || die "compilation failed"
+}
+
+src_install(){
+ dolib.so libdl.so.1 || die "libdl.so failed"
+ dosym "${EPREFIX}"/usr/$(get_libdir)/libdl.so.1 libdl.so || die "dosym failed"
+}
next reply other threads:[~2011-04-25 14:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 14:09 Maxim Koltsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-25 18:38 [gentoo-commits] proj/gentoo-openbsd:master commit in: sys-libs/libdl/ Maxim Koltsov
2011-04-26 14:56 Maxim Koltsov
2011-04-26 14:57 Maxim Koltsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42f0d5157ac5339b9d62b7cd9d34813e1254e9e1.maksbotan@gentoo \
--to=maksbotan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox