Date: Tue, 27 Nov 2012 14:45:54 -0600 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: FreeBSD Ports List <freebsd-ports@freebsd.org> Subject: Re: How to descend into the extract to build in a subdir Message-ID: <CB70CE7ED03D19FD8766CF79@utd71538.campus.ad.utdallas.edu> 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 November 27, 2012 2:24:12 PM -0600 Paul Schmehl <pschmehl_lists@tx.rr.com> 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.) Never mind. I figured it outl .if ${PORT_OPTIONS:MBROCCOLI} pre-configure: (cd ${WRKSRC}/aux/broccoli && ./configure) pre-build: (cd ${WRKSRC}/aux/broccoli && ${MAKE}) .endif -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB70CE7ED03D19FD8766CF79>