summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-18 06:02:14 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-18 06:02:14 +0000
commitda3fead41dfe31c807dc0cc9d676f65bd99fc052 (patch)
treef7ce60b7a56f9345b1aad8d3ebf35259f1340904 /dev-libs/skyutils
parentStable for HPPA (bug #178800). (diff)
downloadgentoo-2-da3fead41dfe31c807dc0cc9d676f65bd99fc052.tar.gz
gentoo-2-da3fead41dfe31c807dc0cc9d676f65bd99fc052.tar.bz2
gentoo-2-da3fead41dfe31c807dc0cc9d676f65bd99fc052.zip
Link with dependent libraries (#231981).
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs/skyutils')
-rw-r--r--dev-libs/skyutils/ChangeLog10
-rw-r--r--dev-libs/skyutils/files/skyutils-2.8-libs.patch12
-rw-r--r--dev-libs/skyutils/skyutils-2.8-r2.ebuild35
3 files changed, 55 insertions, 2 deletions
diff --git a/dev-libs/skyutils/ChangeLog b/dev-libs/skyutils/ChangeLog
index 35d66fd8238d..5d59e9d1f91d 100644
--- a/dev-libs/skyutils/ChangeLog
+++ b/dev-libs/skyutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/skyutils
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/skyutils/ChangeLog,v 1.24 2007/05/23 10:42:32 mrness Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/skyutils/ChangeLog,v 1.25 2008/07/18 06:02:14 mrness Exp $
+
+*skyutils-2.8-r2 (18 Jul 2008)
+
+ 18 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ +files/skyutils-2.8-libs.patch, +skyutils-2.8-r2.ebuild:
+ Link with dependent libraries (#231981).
*skyutils-2.8-r1 (23 May 2007)
diff --git a/dev-libs/skyutils/files/skyutils-2.8-libs.patch b/dev-libs/skyutils/files/skyutils-2.8-libs.patch
new file mode 100644
index 000000000000..990b5fafc77d
--- /dev/null
+++ b/dev-libs/skyutils/files/skyutils-2.8-libs.patch
@@ -0,0 +1,12 @@
+diff -ur skyutils-2.8.orig/configure.in skyutils-2.8/configure.in
+--- skyutils-2.8.orig/configure.in 2005-05-09 08:16:44.000000000 +0000
++++ skyutils-2.8/configure.in 2008-07-18 05:38:13.000000000 +0000
+@@ -208,6 +208,8 @@
+ AC_SUBST(SU_ARCH_LIB)
+ AC_SUBST(SU_ARCH_CFLAGS)
+ AC_SUBST(SU_ANSI_CFLAGS)
++LIBS="$SU_PTHREAD_LIB $SU_DL_LIB $SU_SSL_LIB $SU_ARCH_LIB"
++AC_SUBST(LIBS)
+
+ AC_OUTPUT([
+ Makefile
diff --git a/dev-libs/skyutils/skyutils-2.8-r2.ebuild b/dev-libs/skyutils/skyutils-2.8-r2.ebuild
new file mode 100644
index 000000000000..e93d225796a6
--- /dev/null
+++ b/dev-libs/skyutils/skyutils-2.8-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/skyutils/skyutils-2.8-r2.ebuild,v 1.1 2008/07/18 06:02:14 mrness Exp $
+
+inherit flag-o-matic autotools
+
+DESCRIPTION="Library of assorted C utility functions."
+HOMEPAGE="None available" # was "http://zekiller.skytech.org/coders_en.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="ssl"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-libs.patch
+ eautoreconf
+}
+
+src_compile() {
+ append-flags -D_GNU_SOURCE
+ econf `use_enable ssl` || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog
+}