pkgsrc-WIP-discuss archive

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

Re: buildlink3 confusion



> When I put DEPENDS+=... in my Makefile, it finds that SDL is installed,
> but fails during configuration (at the step where it checks for SDL)
> because (I think) the real command line after the pkgsrc wrapper is
> searching .../work/.buildlink/include/SDL but it isn't there.  But when
> I .include the buildlink3.mk file instead, it tries to upgrade my SDL
> installation to the newest pkgsrc version (1.2.10) instead of using the
> installed one (1.2.9)!  
> 
> I do not want to force people to upgrade libraries unnecessarily.  How

Hi Tim,

I assume you are referring to ../../devel/SDL/buildlink3.mk.

It has:

BUILDLINK_API_DEPENDS.SDL+=     SDL>=1.2.5nb5
BUILDLINK_ABI_DEPENDS.SDL+=     SDL>=1.2.10

The "API_DEPENDS" is for changes in headers or other development interface 
changes. The "ABI_DEPENDS" is used for the binary interface or major 
library changes.

To ignore these ABI dependency recommendations, use USE_ABI_DEPENDS=NO
but don't put that in your Makefile. Do not use USE_ABI_DEPENDS unless you 
are prepared for the problems associated.

Because of the BUILDLINK_ABI_DEPENDS.SDL shown above, users of your new 
package should update to at least that newer SDL.

If you know that 1.2.9's libraries are interchangeable with 1.2.10's 
libraries let us know and maybe we can research this further.

  Jeremy C. Reed

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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