Subject: CVS commit: pkgsrc/mk/buildlink2
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/09/2002 23:58:11
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Oct  9 20:58:11 UTC 2002

Modified Files:
	pkgsrc/mk/buildlink2: bsd.buildlink2.mk

Log Message:
* Create variables BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS that are
  readable through CONFIGURE_ENV and MAKE_ENV.  These may be used to fix
  up packages that use imake to check the appropriate locations for headers
  and libraries.

* Don't be so aggressive in prepending _BLNK_{CPP,LD}FLAGS to
  {C,CPP,CXX,LD}FLAGS.  The buildlink2 wrapper scripts will automatically
  filter out bad -[IL] paths, even if their added inadvertantly by package
  Makefiles, so we can simply append them to the existing
  {C,CPP,CXX,LD}FLAGS.  We try to be smarter about appending them to avoid
  needless duplication.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 pkgsrc/mk/buildlink2/bsd.buildlink2.mk

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