Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 1998 18:09:07 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jkh@time.cdrom.com
Cc:        ports@FreeBSD.ORG
Subject:   Re: Houston, we have a problem.
Message-ID:  <199801150209.SAA08146@bubble.didi.com>
In-Reply-To: <4457.884790633@time.cdrom.com> (jkh@time.cdrom.com)

next in thread | previous in thread | raw e-mail | index | archive | help
 * However, this leads to a problem.  If I put this in my Makefile:
 * 
 * CONFIGURE_ARGS= --with-perl5=${PREFIX}/bin/perl --prefix=${PREFIX}/pilot

And

GNU_CONFIGURE=	yes

?

Well, there are two solutions.  (I haven't tested those, but I believe
they would both work.)

(1) redefine PREFIX

PREFIX=		${LOCALBASE}/pilot
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-perl5=${LOCALBASE}/bin/perl5

(2) Don't use GNU_CONFIGURE, and define NO_MTREE

CONFIGURE_ARGS= --with-perl5=${PREFIX}/bin/perl --prefix=${PREFIX}/pilot

Either is acceptable under the current scheme, but since you are
installing a whole new subtree (complete with bin, include, etc.), I
think (1) is the right thing to do.  It's what devel/prc-tools does
too.

Looking at the prc-tools Makefile, I see that pst had a problem with
mtree being run before anything else in the install stage.  Hmm.  I'll
look into that so you won't have to define NO_MTREE (it's nice to have
the complete subtree created for you).

Satoshi



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