Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 18:27:02 +0100 (CET)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32755: postgresql fails to give proper error message if old port layout is used
Message-ID:  <200112121727.fBCHR2i90757@elbas.partitur.se>

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

>Number:         32755
>Category:       ports
>Synopsis:       postgresql fails to give proper error message if old port layout is used
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 09:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
Partitur
>Environment:
System: FreeBSD elbas.partitur.se 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 25 22:51:28 CEST 2001 girgen@optogan.partitur.se:/usr/obj/usr/src/sys/WORKSTATION i386


	
>Description:
pre-everything target in Mk/bsd.port.mk has two colons, hence all ports must also use two colons, or else:

% make
"/vol/ports/Mk/bsd.port.mk", line 695: Inconsistent operator for pre-everything
make: fatal errors encountered -- cannot continue

this patch modifies this message to the more friendly:

Error: your port uses an old layout.  Please update it to match this bsd.port.mk.  If you have updated your ports collection via cvsup and are still getting this error, see Q12 and Q13 in the cvsup FAQ on http://www.polstra.com for further information.
*** Error code 1

Reported by: Dan Langille <dan@langille.org>
>How-To-Repeat:
use the old port layout for postgresql7 but the new layout for all other stuff. try to build postgresql.
>Fix:

Index: Makefile
===================================================================
RCS file: /net/elbas/opt/ncvs/ports/databases/postgresql7/Makefile,v
retrieving revision 1.89
diff -u -r1.89 Makefile
--- Makefile	2001/09/24 22:54:42	1.89
+++ Makefile	2001/12/12 17:20:28
@@ -96,7 +96,7 @@
 		tk83:${PORTSDIR}/x11-toolkits/tk83
 .endif
 
-pre-everything:
+pre-everything::
 	@ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postgresql
 
 pre-install:
>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?200112121727.fBCHR2i90757>