make port to install to a different PREFIX
Roman Neuhauser
neuhauser at sigpipe.cz
Tue Oct 4 02:28:32 PDT 2005
# fernan at iib.unsam.edu.ar / 2005-10-03 15:49:04 -0300:
> I'm the maintainer of the biology/emboss port. The port
> installs by default to $PREFIX which, in most cases should
> be $LOCALBASE (i.e. /usr/local).
>
> EMBOSS is a big package, with lots of executable files. It
> is thus not surprising that some of the executables have the
> same name as those installed by other ports.
>
> Right now these are the recorded conflicts:
> CONFLICTS= nss-* qmail-ldap2-* digest-*
>
> To work around this, I was thinking about installing
> biology/emboss by default to PREFIX/emboss.
> However, I'm having problems in getting this to work.
>
> This does not work:
> CONFIGURE_ARGS+= --prefix=${PREFIX}/emboss
>
> and neither does this:
> PREFIX?= ${PREFIX}/emboss
>
> because obviously 'Variable PREFIX is recursive.'
Either use PREFIX?=${LOCALBASE}/emboss, or use another approach (IMO
better, but depends on whether the configure script supports it):
CONFIGURE_ARGS+=--program-prefix=emboss-
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
More information about the freebsd-ports
mailing list