summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.subdir.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-08-13 06:03:46 +0000
committerrillig <rillig>2007-08-13 06:03:46 +0000
commit2f56d02340e31de6da1b4c8f373eaa495808d54b (patch)
tree740b06121e4bd164ce7cbf5c20c1cc77ddb76596 /mk/bsd.pkg.subdir.mk
parent7a65d88b71538072cd942087a7f0af5279b88df2 (diff)
downloadpkgsrc-2f56d02340e31de6da1b4c8f373eaa495808d54b.tar.gz
Moved the stuff that is common to all directories of pkgsrc into its own
file. Now "make help" can be called from the top-level directory, avoiding to parse lots of buildlink3.mk files just to get some help.
Diffstat (limited to 'mk/bsd.pkg.subdir.mk')
-rw-r--r--mk/bsd.pkg.subdir.mk15
1 files changed, 2 insertions, 13 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk
index 86fa7851b61..4c599beee4a 100644
--- a/mk/bsd.pkg.subdir.mk
+++ b/mk/bsd.pkg.subdir.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.subdir.mk,v 1.66 2007/05/09 23:33:52 joerg Exp $
+# $NetBSD: bsd.pkg.subdir.mk,v 1.67 2007/08/13 06:03:46 rillig Exp $
# Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
#
@@ -26,18 +26,7 @@
# mirror-distfiles, bulk-install, bulk-package, ${PKG_MISC_TARGETS}
#
-# Pull in stuff from mk.conf - need to check two places as this may be
-# called from pkgsrc or from pkgsrc/category.
-.if exists(${.CURDIR}/mk/bsd.prefs.mk)
-.include "${.CURDIR}/mk/bsd.prefs.mk"
-.else
-.if exists(${.CURDIR}/../mk/bsd.prefs.mk)
-.include "${.CURDIR}/../mk/bsd.prefs.mk"
-.endif # exists(${.CURDIR}/../mk/bsd.prefs.mk)
-.endif # exists(${.CURDIR}/mk/bsd.prefs.mk)
-
-
-.MAIN: all
+.include "${.PARSEDIR}/misc/common.mk"
AWK?= /usr/bin/awk
CAT?= /bin/cat