summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2006-09-18 17:02:33 +0000
committerStephen Klimaszewski <steev@gentoo.org>2006-09-18 17:02:33 +0000
commit9ed605e1b8c210f41924d6f16ec28d6303b3fc5f (patch)
treea82a5a9746bae25338ea2c03f4ffcf36320a39ca /dev-db/sqsh
parentStable on x86, bug #147936. (diff)
downloadgentoo-2-9ed605e1b8c210f41924d6f16ec28d6303b3fc5f.tar.gz
gentoo-2-9ed605e1b8c210f41924d6f16ec28d6303b3fc5f.tar.bz2
gentoo-2-9ed605e1b8c210f41924d6f16ec28d6303b3fc5f.zip
Add a patch knicked from ports to allow sqsh to build on Gentoo/FreeBSD, and add ~x86-fbsd keywording.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-db/sqsh')
-rw-r--r--dev-db/sqsh/ChangeLog7
-rw-r--r--dev-db/sqsh/files/digest-sqsh-2.1.3-r16
-rw-r--r--dev-db/sqsh/files/sqsh-2.1.3-fbsd-configure.patch10
-rw-r--r--dev-db/sqsh/sqsh-2.1.3-r1.ebuild6
4 files changed, 25 insertions, 4 deletions
diff --git a/dev-db/sqsh/ChangeLog b/dev-db/sqsh/ChangeLog
index 59f77d274a78..0aa948976070 100644
--- a/dev-db/sqsh/ChangeLog
+++ b/dev-db/sqsh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/sqsh
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqsh/ChangeLog,v 1.17 2006/03/16 13:51:28 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqsh/ChangeLog,v 1.18 2006/09/18 17:02:33 steev Exp $
+
+ 18 Sep 2006; Steev Klimaszewski <steev@gentoo.org>
+ +files/sqsh-2.1.3-fbsd-configure.patch, sqsh-2.1.3-r1.ebuild:
+ Add a small patch so that sqsh builds on Gentoo/FreeBSD, and add ~x86-fbsd
+ keywording.
16 Mar 2006; Caleb Tennis <caleb@gentoo.org> sqsh-2.1-r1.ebuild,
-sqsh-2.1.3.ebuild, sqsh-2.1.3-r1.ebuild:
diff --git a/dev-db/sqsh/files/digest-sqsh-2.1.3-r1 b/dev-db/sqsh/files/digest-sqsh-2.1.3-r1
index 6167662b3301..0c17d379040e 100644
--- a/dev-db/sqsh/files/digest-sqsh-2.1.3-r1
+++ b/dev-db/sqsh/files/digest-sqsh-2.1.3-r1
@@ -1,2 +1,6 @@
-MD5 baa61acdfe04eebf1f2fc7ed27810218 sqsh-2.1.3.tar.gz 408940
MD5 6e1a769c3d9ac9bdb0187161c87e4f1f sqsh-2.1.3-autotools.patch.bz2 2240
+RMD160 e2d09f18254410d1c8e080743e216cde4c274851 sqsh-2.1.3-autotools.patch.bz2 2240
+SHA256 d14a30979dbaaf21ed8f4661cb96e095ff5f624eec3c107b0c711042dab35a9d sqsh-2.1.3-autotools.patch.bz2 2240
+MD5 baa61acdfe04eebf1f2fc7ed27810218 sqsh-2.1.3.tar.gz 408940
+RMD160 fa6eab6b7345415f5531ed28b24e247321c52086 sqsh-2.1.3.tar.gz 408940
+SHA256 33e55b17538a6f1ab23fb9ae567a9d1e3f3342b2ff9547f6e64fd62dc8e6aa6a sqsh-2.1.3.tar.gz 408940
diff --git a/dev-db/sqsh/files/sqsh-2.1.3-fbsd-configure.patch b/dev-db/sqsh/files/sqsh-2.1.3-fbsd-configure.patch
new file mode 100644
index 000000000000..e5cc0cf0f566
--- /dev/null
+++ b/dev-db/sqsh/files/sqsh-2.1.3-fbsd-configure.patch
@@ -0,0 +1,10 @@
+--- configure Fri Nov 9 14:58:04 2001
++++ configure Tue Oct 15 13:51:29 2002
+@@ -1196,5 +1195,5 @@
+ ncr*)
+ SYBASE_OS="-ldl -lm";;
+- sunos*)
++ sunos*|*bsd*)
+ SYBASE_OS="-lm";;
+ solaris*)
+
diff --git a/dev-db/sqsh/sqsh-2.1.3-r1.ebuild b/dev-db/sqsh/sqsh-2.1.3-r1.ebuild
index 450eb771c48d..556ec2ce737d 100644
--- a/dev-db/sqsh/sqsh-2.1.3-r1.ebuild
+++ b/dev-db/sqsh/sqsh-2.1.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqsh/sqsh-2.1.3-r1.ebuild,v 1.2 2006/03/16 13:51:28 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqsh/sqsh-2.1.3-r1.ebuild,v 1.3 2006/09/18 17:02:33 steev Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
IUSE="readline X motif"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 ~amd64 ~x86-fbsd"
DEPEND="dev-db/freetds
readline? ( sys-libs/readline )
@@ -29,6 +29,8 @@ DEPEND="dev-db/freetds
src_unpack() {
unpack ${A}; cd ${S}
epatch ${WORKDIR}/${P}-autotools.patch
+ # Patch knicked from ports so that we don't pass -ldb when in a BSD
+ epatch ${FILESDIR}/${PN}-2.1.3-fbsd-configure.patch
}
src_compile() {