summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/openslp')
-rw-r--r--net-libs/openslp/ChangeLog8
-rw-r--r--net-libs/openslp/files/openslp-1.2.1-fbsd.patch12
-rw-r--r--net-libs/openslp/openslp-1.2.1.ebuild11
3 files changed, 26 insertions, 5 deletions
diff --git a/net-libs/openslp/ChangeLog b/net-libs/openslp/ChangeLog
index 7c2e581b5093..70d4a216a07e 100644
--- a/net-libs/openslp/ChangeLog
+++ b/net-libs/openslp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/openslp
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.35 2005/10/02 04:58:54 matsuu Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.36 2006/04/09 13:44:26 flameeyes Exp $
+
+ 09 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/openslp-1.2.1-fbsd.patch, openslp-1.2.1.ebuild:
+ Add patch to build on *BSD systems, run elibtoolize and add ~x86-fbsd keyword.
02 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> openslp-1.2.1.ebuild:
Stable on sh.
diff --git a/net-libs/openslp/files/openslp-1.2.1-fbsd.patch b/net-libs/openslp/files/openslp-1.2.1-fbsd.patch
new file mode 100644
index 000000000000..dac041516f23
--- /dev/null
+++ b/net-libs/openslp/files/openslp-1.2.1-fbsd.patch
@@ -0,0 +1,12 @@
+Index: openslp-1.2.1/common/Makefile.am
+===================================================================
+--- openslp-1.2.1.orig/common/Makefile.am
++++ openslp-1.2.1/common/Makefile.am
+@@ -24,6 +24,7 @@ libcommonlibslp_la_SOURCES = \
+ slp_parse.c \
+ slp_pid.c \
+ slp_dhcp.c \
++ slp_net.c \
+ $(slp_v1message_SRCS) \
+ $(slp_security_SRCS)
+
diff --git a/net-libs/openslp/openslp-1.2.1.ebuild b/net-libs/openslp/openslp-1.2.1.ebuild
index c15364d15947..b06b6bc3ff1b 100644
--- a/net-libs/openslp/openslp-1.2.1.ebuild
+++ b/net-libs/openslp/openslp-1.2.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/openslp-1.2.1.ebuild,v 1.13 2005/10/02 04:58:54 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/openslp-1.2.1.ebuild,v 1.14 2006/04/09 13:44:26 flameeyes Exp $
-inherit gnuconfig
+inherit gnuconfig libtool eutils autotools
DESCRIPTION="An open-source implementation of Service Location Protocol"
HOMEPAGE="http://www.openslp.org/"
@@ -21,6 +21,11 @@ src_unpack() {
# needed at least by alpha and amd64
cd ${S}
gnuconfig_update
+
+ epatch "${FILESDIR}/${P}-fbsd.patch"
+ eautomake
+
+ elibtoolize
}
src_compile() {