Okay I figured it out maybe. I did some more reading and looked at some Makefiles. For WANTLIB you put all required libraries even ones in base and X11, and in LIB_DEPENDS you exclude the ones in base and x11 and include the ones from ports from wantlib list
On Wed, Dec 20, 2017 at 4:40 PM, mitchell wodach <[email protected]> wrote: > so I need one or the other > > On Wed, Dec 20, 2017 at 4:38 PM, mitchell wodach <[email protected]> wrote: >> So if my understanding is correct LIB_DEPENDS uses WANTLIB to make a >> list of library depends? >> >> On Wed, Dec 20, 2017 at 12:52 AM, Rafael Sadowski <[email protected]> >> wrote: >>> On Tue Dec 19, 2017 at 07:47:56PM -0600, mitchell wodach wrote: >>>> I'm having trouble under standing the difference between wantlib and >>>> LIB_DEPENDS. Can someone explain to me what they do and when to use >>>> them when writing ports. >>>> >>>> Thanks, >>>> Mitch >>>> >>> >>> Hi Mitch, >>> >>> please check out section `LIB_DEPENDS` in bsd.port.mk(5). >>> >>> Best regards, >>> >>> Rafael
