Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 12:07:44 -0600
From:      Aaron Dalton <aaron@daltons.ca>
To:        freebsd-ports@freebsd.org
Subject:   Requiring LSOF as a run_depends
Message-ID:  <200408151207.44128.aaron@daltons.ca>

next in thread | raw e-mail | index | archive | help
I have a port that requires LSOF to run.  After doing a quick search I=20
found three other ports that require lsof. =A0The ports www/caudium12 and=20
security/doorman use the same syntax, namely:
RUN_DEPENDS=3D lsof:${PORTSDIR}/sysutils/lsof/

However, I also found another port (sysutils/tcplist) that uses a slightly=
=20
different syntax:
RUN_DEPENDS=3D ${LOCALBASE}/sbin/lsof:${PORTSDIR}/sysutils/lsof

Is there a "correct" way that I should follow?  Or does it really matter?  =
It=20
seems to me that the first way requires LSOF to be in the user's path where=
as=20
the second is more forgiving, but is it accurate?

Thanks for your time!
=2D-=20
Aaron Dalton
http://aaron.daltons.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408151207.44128.aaron>