Date: Tue, 27 Nov 2012 21:40:15 +0100 From: Olli Hauer <ohauer@FreeBSD.org> To: FreeBSD Ports List <freebsd-ports@freebsd.org> Cc: Paul Schmehl <pschmehl_lists@tx.rr.com> Subject: Re: How to descend into the extract to build in a subdir Message-ID: <50B5252F.4090102@FreeBSD.org> In-Reply-To: <4B522159C9F77F81D968E64D@utd71538.campus.ad.utdallas.edu> References: <4B522159C9F77F81D968E64D@utd71538.campus.ad.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-11-27 21:24, Paul Schmehl wrote: > I'm working on a port that requires a separate ./configure and ./make to build libraries before you build the main source. How is this done in ports? > > I figure you have to do something in pre-build:, but I'm not sure exactly what. > (cd ${WRKSRC}/subdir && ${MAKE}) causes make to fail entirely. I'm having trouble finding a comparable example in ports and there doesn't seem to be anything about it in the porters handbook (that I have found.) > Hi Paul, you can overwrite also the whole build part with a do-build: target For example the devel/apr1 port has to build apr before apr-util. Maybe you can show your current Makefile -- Regards, olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B5252F.4090102>