summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/unieject/ChangeLog8
-rw-r--r--sys-block/unieject/unieject-5.1.ebuild14
2 files changed, 18 insertions, 4 deletions
diff --git a/sys-block/unieject/ChangeLog b/sys-block/unieject/ChangeLog
index bc923aa489ae..27237b034647 100644
--- a/sys-block/unieject/ChangeLog
+++ b/sys-block/unieject/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/unieject
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.16 2005/12/30 20:03:17 flameeyes Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.17 2006/01/05 12:19:51 flameeyes Exp $
+
+ 05 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> unieject-5.1.ebuild:
+ Change the minimal version needed for FreeBSD back to 0.75 as our version
+ 0.75-r1 is fixed for FreeBSD.
*unieject-5.1 (30 Dec 2005)
diff --git a/sys-block/unieject/unieject-5.1.ebuild b/sys-block/unieject/unieject-5.1.ebuild
index 57142ea4529d..4d549c4e2e53 100644
--- a/sys-block/unieject/unieject-5.1.ebuild
+++ b/sys-block/unieject/unieject-5.1.ebuild
@@ -1,6 +1,6 @@
-# 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/sys-block/unieject/unieject-5.1.ebuild,v 1.1 2005/12/30 20:03:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/unieject-5.1.ebuild,v 1.2 2006/01/05 12:19:51 flameeyes Exp $
DESCRIPTION="Multiplatform command to eject and load CD-Rom drives"
HOMEPAGE="http://dev.gentoo.org/~flameeyes/projects"
@@ -21,6 +21,16 @@ DEPEND="${RDEPEND}
PROVIDE="virtual/eject"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # libcdio-0.75-r1 in Gentoo is fixed, so no need to ask 0.76 either on
+ # FreeBSD.
+ sed -i -e '/freebsd/s:libcdiomin="0\.76":libcdiomin="0.75":' \
+ ${S}/configure
+}
+
src_compile() {
econf \
$(use_enable nls) \