View Single Post
  #2   (View Single Post)  
Old 19th March 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by shep View Post
My next task is to generate the wantlibs. The section on handling shared libaries indicated the importance of an accurate list but does not give much information about how to accomplish the task.
I haven't built a port in several years. From memory, I recall using WANTLIB for libraries in the base or in X, and I recall setting third party libraries as LIB_DEPENDS. I may not remember correctly.
Quote:
1) Since this is a new port do I need to list the earliest minor version of the library that will work or can I just start with the version in my current install that I know will successfully compile?
I would use your -current libraries major.minor as your minimum libspecs, for both WANTLIB and LIB_DEPENDS.
Quote:
3) Is there a simple way to generate the list?
Again, my memory is foggy, but perhaps make with the port-lib-depends-check target?
Reply With Quote