Date: Tue, 4 Oct 2005 11:28:30 +0200 From: Roman Neuhauser <neuhauser@sigpipe.cz> To: FreeBSD Ports <ports@FreeBSD.ORG> Subject: Re: make port to install to a different PREFIX Message-ID: <20051004092830.GC1633@isis.sigpipe.cz> In-Reply-To: <20051003184904.GB46117@iib.unsam.edu.ar> References: <20051003184904.GB46117@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
# fernan@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051004092830.GC1633>