--On November 27, 2012 2:24:12 PM -0600 Paul Schmehl <pschmehl_li...@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

_______________________________________________
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