[BACK]Return to Packages.txt CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/Attic/Packages.txt between version 1.166 and 1.167

version 1.166, 2001/06/23 14:29:29 version 1.167, 2001/06/29 05:07:36
Line 1571  for a mythical package foo follows:
Line 1571  for a mythical package foo follows:
 > .include "../../mk/bsd.buildlink.mk"  > .include "../../mk/bsd.buildlink.mk"
   
   
    8.3 Converting packages to use buildlink.mk files
    =================================================
   
   The process of converting existing packages to use the buildlink.mk
   infrastructure is fairly straightforward.  If a dependency on a particular
   package is required for its libraries and headers, then rather than
   directly adding a dependency on that package, include that package's
   buildlink.mk instead.  The following variables may also be replaced with
   buildlink.mk files:
   
       USE_CURSES  -->     .include "../../devel/ncurses/buildlink.mk"
       USE_LIBINTL -->     .include "../../devel/gettext-lib/buildlink.mk"
       USE_LTDL    -->     .include "../../devel/libtool/buildlink.mk"
       USE_MESA    -->     .include "../../graphics/Mesa/buildlink.mk"
       USE_SSL     -->     .include "../../security/openssl/buildlink.mk"
       USE_XPM     -->     .include "../../graphics/xpm/buildlink.mk"
   
   If the required dependency pattern for a package differs from the default
   specified in the package's buildlink.mk file, then it may be set by
   defining BUILDLINK_DEPENDS.<pkgname> in the Makefile to the dependency
   pattern required.
   
   A package that builds correctly with USE_BUILDLINK_ONLY set should have
   that setting added to its Makefile to note that it doesn't use any
   libraries or headers in ${LOCALBASE} directly, but rather references them
   only through ${BUILDLINK_DIR}.
   
   
  9 Debugging   9 Debugging
  ===========   ===========
   

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.167

CVSweb <webmaster@jp.NetBSD.org>