PREFIX problems...

Vasil Dimov vd at FreeBSD.org
Fri Feb 10 05:38:11 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Feb 10, 2006 at 02:09:02PM +0100, Anders Troback wrote:
> On Fri, 10 Feb 2006 14:26:01 +0200
> Vasil Dimov <vd at FreeBSD.org> wrote:
...
> > PREFIX?=	${LOCALBASE}/bigsister
> > CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
> > CONFIGURE_ARGS=	--with-cgi=${BS_CGI_PATH} \
> > 		--with-perlext=${BS_PERL_EXT} \
> > 		--with-url=${BS_URL} \
> > 		--with-user=${BS_USER}
...
> 
> That fixed it!
> 
> Is this a "legal" way to go?

Well, it is good for a port to install in LOCALBASE in general. Why do
you want to install in ${LOCALBASE}/bigsister? If it conflicts with
files installed by other ports you may look for --program-prefix (or
something) argument to the configure script or use CONFLICTS=
If these are not applicable then install in ${LOCALBASE}/bigsister

Otherwise this is a "legal" substitution of your variant:
CONFIGURE_ARGS=--prefix=${PREFIX}/bigsister

- -- 
Vasil Dimov
-----BEGIN PGP SIGNATURE-----

iD8DBQFD7JdAFw6SP/bBpCARArvuAJ0WkEa0KkzBab4SzfqG45uas31eBgCfXRgM
5wYZJX6jY/OQU7in7ZoYePI=
=hKp7
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list