Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2003 21:35:06 -0700
From:      Scott Long <scott_long@btc.adaptec.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        re-builders@freebsd.org
Subject:   Re: Release failure for make readmes
Message-ID:  <3E1E4D7A.10006@btc.adaptec.com>
In-Reply-To: <20030110042518.GA61631@mckinley.pn.xcllnt.net>
References:  <20030110042518.GA61631@mckinley.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
My repo shows this file is at rev 1.3, and that the difference is very 
similar to
you patch.

----------------------------
revision 1.3
date: 2003/01/04 09:01:05;  author: seanc;  state: Exp;  lines: +1 -1
Fix Makefile variable resolution problem.

Submitted by:   Alexandr Listopad <laa@laa.zp.ua>


Marcel Moolenaar wrote:

> 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
>



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?3E1E4D7A.10006>