pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libnbcompat



 >> My question still has no resolution. I resend a question to jlam@. No
 >> answer.  Can anobody explain how to use inplace.mk?
 >> As I already said replacing libnbcompat/buildlink3.mk with inplace.mk
 >> doesn't work.

> USE_FEATURES= nbcompat is the new approach.

Ok. This looks a little better.

So. In order to pass ${LIBS} to the project (but not to libnbcompat's
configure script) based on BSD make I use the following.

 do-build:
        cd ${WRKSRC} && env ${MAKE_ENV} \
            ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
            -f ${MAKE_FILE} ${BUILD_TARGET} LDADD=${LIBS:Q}
                                            ^^^^^^^^^^^^^^^

Note, ${LIBS:Q} at the end of command line.

Is there more elegant way?

-- 
Best regards, Aleksey Cheusov.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss




Home | Main Index | Thread Index | Old Index