Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2000 08:52:27 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22149: Enhance the "Old port layout" message from bsd.port.mk
Message-ID:  <200010201252.e9KCqRW31281@baby.int.thehousleys.net>

next in thread | raw e-mail | index | archive | help

>Number:         22149
>Category:       ports
>Synopsis:       Enhance the "Old port layout" message from bsd.port.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 20 06:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     James E. Housley
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	New ports layout

>Description:

	We just got another PR for a "update to new port layout etc...".
	I had a problem on one port after updating.  Due to a CVS conflict
	the md5 file was not removed and triggered the error.  The attached
	patch would show the file(s) causing the error.

>How-To-Repeat:

	

>Fix:

--- bsd.port.mk.orig	Tue Oct 17 19:59:30 2000
+++ bsd.port.mk	Fri Oct 20 08:47:57 2000
@@ -601,6 +601,15 @@
 	(!defined(MD5_FILE) && exists(${MASTERDIR}/files/md5))
 pre-everything::
 	@${ECHO} "Error: your port uses an old layout.  Please update it to match this bsd.port.mk."
+.if !defined(PATCHDIR) && exists(${MASTERDIR}/patches) \
+	@${ECHO} "CAUSE: ${MASTERDIR}/patches directory"
+.endif
+.if !defined(PKGDIR) && exists(${MASTERDIR}/pkg)
+	@${ECHO} "CAUSE: ${MASTERDIR}/pkg directory"
+.endif
+.if !defined(MD5_FILE) && exists(${MASTERDIR}/files/md5)
+	@${ECHO} "CAUSE: ${MASTERDIR}/files/md5 file"
+.endif
 	@${FALSE}
 .endif
 PATCHDIR?=		${MASTERDIR}/files


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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