Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 20:20:05 +0200
From:      Carsten Larsen <cs@innolan.dk>
To:        Russell Haley <russ.haley@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Passing target to source Makefile
Message-ID:  <57911255.4010104@innolan.dk>
In-Reply-To: <CABx9NuQWqC2%2Bx82rT2zUa=qKiaC-EjUtfY7tess5NVpn8n-cgg@mail.gmail.com>
References:  <CABx9NuQWqC2%2Bx82rT2zUa=qKiaC-EjUtfY7tess5NVpn8n-cgg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Russell,

 > I've been able to hack up the Makefile for an update of lua53 but the
> one thing still missing is the ability to pass a target for the source
> Makefile (i.e. lua's Makefile, not the ports Makefile). I need to pass
> in "freebsd" as per the build instructions for lua.
>

Assuming gnu make is used, do this:

do-build:
         ${GMAKE} -C ${WRKSRC} TARGET=insert-here

> Also, I can't seem to get make makeplist to work, but I think that's
> because the lua makefile is defaulting to install the files (due to
> the lack of target) and overriding the makeplist output?
>
> Thanks,
>
> Russell






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