Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 1995 06:55:34 -0700
From:      asami@CS.Berkeley.EDU (Satoshi Asami)
To:        jkh@freefall.cdrom.com
Cc:        gpalmer@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: package subdirectory names
Message-ID:  <199506051355.GAA01136@silvia.HIP.Berkeley.EDU>
In-Reply-To: <25519.802355804@freefall.cdrom.com> (jkh@freefall.cdrom.com)

next in thread | previous in thread | raw e-mail | index | archive | help
 * > Well, that's ok, but let's not make the CDROM disagree with -current.
 * > Also, doesn't pkg_add have code to scan this directory?
 * 
 * It just scans whatever directory you run it in.. :-)

Ok...by the way, can you review the patch?  It seems to be working ok
on thud and my machine, but I we can't afford any screwup at this
point.... :)

 * > P.S. I need to convert the packages in the ftp site and thud...can I
 * >      use your program?
 * 
 * Sure.  I'll send it to you!

Still waiting.... :)

Satoshi

P.S. "The Patch"
=======
--- ./bsd.port.mk.org	Mon Jun  5 05:00:40 1995
+++ ./bsd.port.mk	Mon Jun  5 05:15:02 1995
@@ -305,10 +305,11 @@
 # Documentation
 MAINTAINER?=	ports@FreeBSD.ORG
 CATEGORIES?=	orphans
-CATEGORIES+=	all
 KEYWORDS+=		${CATEGORIES}
 
-PKGREPOSITORYSUBDIR?=	.packages
+# Note this has to start with a capital letter (or more accurately, it
+#  shouldn't match "[a-z]*"), see the target "delete-package-links" below.
+PKGREPOSITORYSUBDIR?=	All
 PKGREPOSITORY?=		${PACKAGES}/${PKGREPOSITORYSUBDIR}
 .if exists(${PACKAGES})
 PKGFILE?=		${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
@@ -975,7 +976,7 @@
 
 .if !target(delete-package-links)
 delete-package-links:
-	@rm -f ${PACKAGES}/*/${PKGNAME}${PKG_SUFX};
+	@rm -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX};
 .endif
 
 .if !target(delete-package)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506051355.GAA01136>