Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 13:10:35 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        freebsd-ports@freebsd.org, Matteo Giannone <rebonzo@libero.it>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re:FreeBSD Port: firefox-1.0_5,1
Message-ID:  <200412211310.35527.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <20041221120109.B13E916A4D5@hub.freebsd.org>
References:  <20041221120109.B13E916A4D5@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_bcGyBtpWLAyohpl
Content-Type: text/plain;
  charset="koi8-u"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

> >=3D=3D=3D> =9A firefox-1.0_5,1 depends on shared library: atk-1.0.600 - =
not found
> >=3D=3D=3D> =9A Verifying install for atk-1.0.600 in /usr/ports/accessibi=
lity/atk
> >=3D=3D=3D> =9A Returning to build of firefox-1.0_5,1

Unless there is a good reason (and usually there is not), a port should not=
=20
require a particular version of a shared library.

Consider the attached diff for an example -- I don't mean to pick up on gno=
me=20
in particular.

As of about two years ago it is even possible to use ranges and other=20
expressions in the first parts of LIB_DEPENDS tuples.

	-mi


--Boundary-00=_bcGyBtpWLAyohpl
Content-Type: text/x-diff;
  charset="koi8-u";
  name="gnome.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="gnome.diff"

Index: bsd.gnome.mk
===================================================================
RCS file: /meow/ncvs/ports/Mk/bsd.gnome.mk,v
retrieving revision 1.86
diff -U2 -r1.86 bsd.gnome.mk
--- bsd.gnome.mk	8 Dec 2004 06:29:09 -0000	1.86
+++ bsd.gnome.mk	21 Dec 2004 18:01:08 -0000
@@ -241,17 +241,17 @@
 pygnome_USE_GNOME_IMPL=	gtkhtml pygtk
 
-glib20_LIB_DEPENDS=	glib-2.0.400:${PORTSDIR}/devel/glib20
+glib20_LIB_DEPENDS=	glib-2.0:${PORTSDIR}/devel/glib20
 glib20_DETECT=		${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc
 glib20_USE_GNOME_IMPL=gnometarget pkgconfig
 
-atk_LIB_DEPENDS=	atk-1.0.800:${PORTSDIR}/accessibility/atk
+atk_LIB_DEPENDS=	atk-1.0:${PORTSDIR}/accessibility/atk
 atk_DETECT=		${LOCALBASE}/libdata/pkgconfig/atk.pc
 atk_USE_GNOME_IMPL=	glib20
 
-pango_LIB_DEPENDS=	pango-1.0.600:${PORTSDIR}/x11-toolkits/pango
+pango_LIB_DEPENDS=	pango-1.0:${PORTSDIR}/x11-toolkits/pango
 pango_DETECT=		${X11BASE}/libdata/pkgconfig/pango.pc
 pango_USE_GNOME_IMPL=	glib20
 
-gtk20_LIB_DEPENDS=	gtk-x11-2.0.400:${PORTSDIR}/x11-toolkits/gtk20
+gtk20_LIB_DEPENDS=	gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
 gtk20_DETECT=		${X11BASE}/libdata/pkgconfig/gtk+-x11-2.0.pc
 gtk20_USE_GNOME_IMPL=	intltool atk pango

--Boundary-00=_bcGyBtpWLAyohpl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412211310.35527.mi%2Bmx>