Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2013 15:20:06 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Chris Rees <utisoft@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug
Message-ID:  <CAF6rxgkF_2emtmvTGHth5L4QgE-2vrnxSDsEwn%2Bu6wspDwNbiQ@mail.gmail.com>
In-Reply-To: <CADLo8388f-W-T4nMr6RzhrZmJZwFp5Nig0ouztS%2B9Q4NnFXEaw@mail.gmail.com>
References:  <CAF6rxgmH9QJ2qYPT17W=nVUU2pYTfGmBBBwMDiQPA8SAj1tJuw@mail.gmail.com> <CADLo8388f-W-T4nMr6RzhrZmJZwFp5Nig0ouztS%2B9Q4NnFXEaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 March 2013 10:50, Chris Rees <utisoft@gmail.com> wrote:


Add WITH_CCACHE_BUILD=yes  to /etc/make.conf

Use this Makefile:

Try "make run-depends-list" with and without the commented line.  Note
that USE_CMAKE, USE_GMAKE, etc. can also trigger the buggy behavior.

Note that this behavior is somewhat fixed if you add BUILD_DEPENDS=
(no +) prior to setting RUN_DEPENDS.  However, I've seen ports without
this.  I'm not really sure why.

======

# $FreeBSD$

PORTNAME=	led
PORTVERSION=	2.0
CATEGORIES=	editors
MASTER_SITES=	SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A tiny text editor, with a number of useful programming features

#RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_PERL5=	yes

.include <bsd.port.mk>

======


After some thought I think I was confusing the issue.  The problem is
using RUN_DEPENDS:=	${BUILD_DEPENDS} without also setting
BUILD_DEPENDS, not using "RUN_DEPENDS:=	${BUILD_DEPENDS}" in general.

-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkF_2emtmvTGHth5L4QgE-2vrnxSDsEwn%2Bu6wspDwNbiQ>