On Fri, 6 Dec 2013 11:06:59 -0500
Vick Khera <vi...@khera.org> wrote:

> I have a port locally that does this to install a file so other ports
> that depend on this can have something to depend on from the file
> system.
> 
> do-install:
>         ${CP} /dev/null ${LOCALBASE}/etc/rwde-base-installed
> 
> 
> Lately it seems that the ports does a staging step, and the above
> file is not found when building the package for that process. I
> changed it to
> 
> 
> do-install:
>         ${CP} /dev/null
> ${STAGEDIR}${LOCALBASE}/etc/rwde-base-installed
> 
> 
> Is this safe to use ${STAGEDIR} unconditionally like this? Should I be
> using a different variable to install my file in the do-install step?

I think you should use ${STAGEDIR}${PREFIX}, not ${LOCALBASE}.

-- 
Michael Gmelin
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to