pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk We already know that bsd.prefs.mk is included befor...
details: https://anonhg.NetBSD.org/pkgsrc/rev/78a240e21bcd
branches: trunk
changeset: 484858:78a240e21bcd
user: tv <tv%pkgsrc.org@localhost>
date: Tue Nov 30 15:09:45 2004 +0000
description:
We already know that bsd.prefs.mk is included before this, so reduce make
parser churn by skipping a second include of it.
Use PKGDIR in preference to .CURDIR as in other .mk files.
diffstat:
mk/bsd.hacks.mk | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r b3f7b946d3e2 -r 78a240e21bcd mk/bsd.hacks.mk
--- a/mk/bsd.hacks.mk Tue Nov 30 15:07:26 2004 +0000
+++ b/mk/bsd.hacks.mk Tue Nov 30 15:09:45 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hacks.mk,v 1.1 2004/11/14 07:23:07 jlam Exp $
+# $NetBSD: bsd.hacks.mk,v 1.2 2004/11/30 15:09:45 tv Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -57,12 +57,10 @@
# .endif # FOO_HACKS_MK
# -------------8<-------------8<-------------8<-------------8<-------------
-.include "../../mk/bsd.prefs.mk"
-
PKG_HACKS?= # empty
-.if exists(${.CURDIR}/hacks.mk)
-. include "${.CURDIR}/hacks.mk"
+.if exists(${PKGDIR}/hacks.mk)
+. include "${PKGDIR}/hacks.mk"
.endif
# Record any package hacks that we use in the installed package.
Home |
Main Index |
Thread Index |
Old Index