diff options
author | tv <tv@pkgsrc.org> | 2004-11-30 15:09:45 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-30 15:09:45 +0000 |
commit | 893e4b35300370b5f0965aaa2ee10bdd67c2d64f (patch) | |
tree | 4536849a8ab4bbfcdbd926615276c94b211ede13 /mk/bsd.hacks.mk | |
parent | 963184968fcb4f14d1136f549b5c12a385560dff (diff) | |
download | pkgsrc-893e4b35300370b5f0965aaa2ee10bdd67c2d64f.tar.gz |
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 (limited to 'mk/bsd.hacks.mk')
-rw-r--r-- | mk/bsd.hacks.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/bsd.hacks.mk b/mk/bsd.hacks.mk index 5477d594903..36c00cd5033 100644 --- a/mk/bsd.hacks.mk +++ b/mk/bsd.hacks.mk @@ -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. |