pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libnbcompat
> On Sun, Sep 30, 2007 at 09:10:43PM +0300, Aleksey Cheusov wrote:
>> 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.
> Are you sure you want to pass it on the command line and not via
> MAKE_ENV? That way the Makefile cannot alter it.
Do you suggest
cd ${WRKSRC} && env ${MAKE_ENV} LDADD=${LIBS:Q} \
^^^^^^^^^^^^^^^
${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \
-f ${MAKE_FILE} ${BUILD_TARGET}
?
In my case project's Makefile doesn't set LDADD locally.
So, both variants are the same.
But in general case, I'm not sure about "system *.mk makefiles"?
By the way, where these "system makefiles" are documented?
I mean not details, but design principles, basic ideas etc.
How they differ from system to system
(e.g. NetBSD vs. FreeBSD vs. Interix)?
Are they specific to BSD make only?
How to use them in a portable way, or they are non-portable
at all because of their nature and they are always specific
to a particular system.
--
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