Subject: proposed changes in bsd.pkg.mk
To: None <tech-pkg@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-pkg
Date: 10/24/2001 23:37:33
G'day,

nobody objecting, I would like to commit the following change in the
pkgsrc/mk/bsd.pkg.mk file:

--- /tmp/bsd.pkg.mk     Thu Oct 18 22:01:12 2001
+++ bsd.pkg.mk  Mon Oct 22 09:18:36 2001
@@ -58,7 +58,11 @@
 PATCHDIR?=             ${.CURDIR}/patches
 SCRIPTDIR?=            ${.CURDIR}/scripts
 FILESDIR?=             ${.CURDIR}/files
+.if exists(${.CURDIR}/pkg)
 PKGDIR?=               ${.CURDIR}/pkg
+.else
+PKGDIR?=               ${.CURDIR}
+.endif

 .if defined(USE_JAVA)
 BUILD_DEFS+=           PKG_JVM JAVA_HOME

This patch will allow to relocate PLIST and DESCR files into the toplevel
directory whilst maintaining backward compatibility with the current version
allowing a progressive conversion of all packages over time.

The reason for this change is to eliminate thousands of directories and files 
needed to accommodate two files in their own directory and to speed up
cvs processes, e.g. reduce processing time synchronizing the cvs tree.

I've been running my system with this patch applied since approximately March
this year and haven't seen any ill effects.

I entertain your comments

cheerio Berndt