Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 20:25:18 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        re-builders@FreeBSD.org
Subject:   Release failure for make readmes
Message-ID:  <20030110042518.GA61631@mckinley.pn.xcllnt.net>

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

I got the following:

	:
===> databases/phpmyadmin
===>   Creating README.html for phpMyAdmin-2.3.0.rc4
===> databases/phppgadmin
===>   Creating README.html for phppgadmin-2.4.2
===> databases/postgresql-devel
===>   Creating README.html for postgresql-devel-7.3.1
===> databases/postgresql-docs
"Makefile", line 15: Could not find /databases/postgresql7/Makefile
"/usr/ports/Mk/bsd.port.mk", line 1886: warning: duplicate script for target ".BEGIN" ignored
"/usr/ports/Mk/bsd.port.mk", line 1887: warning: duplicate script for target ".BEGIN" ignored
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/ports/databases.
*** Error code 1

The following patch fixes the problem. I don't think PORTSDIR
can be defined at that point:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql-docs/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	4 Jan 2003 03:36:53 -0000	1.2
+++ Makefile	10 Jan 2003 04:23:57 -0000
@@ -12,7 +12,7 @@
 
 POSTGRESQL_SUBPORT=	YES
 POSTGRESQL_PORT?=	databases/postgresql7
-.include <${PORTSDIR}/${POSTGRESQL_PORT}/Makefile>
+.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
 DISTFILES=	postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
 .undef GNU_CONFIGURE
 NO_BUILD=	YES

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

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




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