summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-18 13:32:38 +0000
committerjlam <jlam@pkgsrc.org>2004-02-18 13:32:38 +0000
commitde7c1e27f8e47afeef59f84da3f9a58d0b526028 (patch)
tree4a6b9245550fffa4e5469f8b4f800859f0b85289 /mk/buildlink3
parentd786d7cb59d7d095cf52804ff11cb17d38dc3989 (diff)
downloadpkgsrc-de7c1e27f8e47afeef59f84da3f9a58d0b526028.tar.gz
* Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.
Package Makefiles may now directly include compiler.mk. * Don't include compiler.mk within bsd.prefs.mk any longer. It was only included for the purposes of defining CC_VERSION. Packages that want to test the value of CC_VERSION should now first include "../../mk/compiler.mk". Any GCC_REQD statements in package Makefiles should be set before compiler.mk is included. * Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to be included indirectly by bsd.prefs.mk. We remove the special handling associated with detecting whether the file was included from within bsd.prefs.mk. These files are now much more straightforward to write and understand. * G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*) no longer need it. * Ensure that directories are prepended to the PATH only from within bsd.pkg.mk.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 7444f9f3a00..7bf933008e6 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.91 2004/02/18 05:23:37 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.92 2004/02/18 13:32:38 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -56,11 +56,6 @@ BUILDLINK_OPSYS?= ${OPSYS}
#
.if empty(PREPEND_PATH:M${BUILDLINK_DIR}/bin)
PREPEND_PATH+= ${BUILDLINK_DIR}/bin
-. if defined(_OPSYS_DEFAULT_PATH)
-PATH:= ${BUILDLINK_DIR}/bin:${_OPSYS_DEFAULT_PATH}
-. else
-PATH:= ${BUILDLINK_DIR}/bin:${PATH}
-. endif
.endif
# BUILDLINK_DEPENDS contains the list of packages for which we add