diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-19 04:19:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-19 04:19:50 +0000 |
commit | 41d690ad024683b5d1e404d013f27a691dba2568 (patch) | |
tree | 26f206011c525062f4389b91ac564577bc80a44f /mk | |
parent | 7a3aed445ff8d0d893bf0f20de632d170bf06358 (diff) | |
download | pkgsrc-41d690ad024683b5d1e404d013f27a691dba2568.tar.gz |
Add BUILDLINK_DIR to the CONFIGURE_ENV and MAKE_ENV automatically.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.buildlink.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index b4a78d8e8b9..bb1a33a8868 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink.mk,v 1.9 2001/06/18 20:16:17 jlam Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.10 2001/06/19 04:19:50 jlam Exp $ # # This Makefile fragment is included by package buildlink.mk files. This # file does the following things: @@ -89,8 +89,10 @@ CXXFLAGS:= ${BUILDLINK_CPPFLAGS} ${CXXFLAGS} CPPFLAGS:= ${BUILDLINK_CPPFLAGS} ${CPPFLAGS} LDFLAGS:= ${BUILDLINK_LDFLAGS} ${LDFLAGS} +CONFIGURE_ENV+= BUILDLINK_DIR="${BUILDLINK_DIR}" CONFIGURE_ENV+= BUILDLINK_CPPFLAGS="${BUILDLINK_CPPFLAGS}" CONFIGURE_ENV+= BUILDLINK_LDFLAGS="${BUILDLINK_LDFLAGS}" +MAKE_ENV+= BUILDLINK_DIR="${BUILDLINK_DIR}" MAKE_ENV+= BUILDLINK_CPPFLAGS="${BUILDLINK_CPPFLAGS}" MAKE_ENV+= BUILDLINK_LDFLAGS="${BUILDLINK_LDFLAGS}" .endif |