summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.subdir.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-08-13 06:03:46 +0000
committerrillig <rillig@pkgsrc.org>2007-08-13 06:03:46 +0000
commit7d184f93ff74a2409b12ee91c28677507dca4543 (patch)
tree740b06121e4bd164ce7cbf5c20c1cc77ddb76596 /mk/bsd.pkg.subdir.mk
parent6fc362c5587b608441abc54c9c129ae0a68f1b32 (diff)
downloadpkgsrc-7d184f93ff74a2409b12ee91c28677507dca4543.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