From girgen@smtp.chello.se  Tue Sep  2 17:45:03 2003
Return-Path: <girgen@smtp.chello.se>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5284916A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Sep 2003 17:45:03 -0700 (PDT)
Received: from amsfep15-int.chello.nl (amsfep15-int.chello.nl [213.46.243.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB8F944008
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Sep 2003 17:45:01 -0700 (PDT)
	(envelope-from girgen@smtp.chello.se)
Received: from palle.girgensohn.se ([213.89.138.245])
          by amsfep15-int.chello.nl
          (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
          id <20030903004500.TXZE6169.amsfep15-int.chello.nl@palle.girgensohn.se>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Wed, 3 Sep 2003 02:45:00 +0200
Received: from palle.girgensohn.se (localhost [127.0.0.1])
	by palle.girgensohn.se (8.12.9/8.12.9) with ESMTP id h830j0fb064582
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 3 Sep 2003 02:45:00 +0200 (CEST)
	(envelope-from girgen@palle.girgensohn.se)
Received: (from girgen@localhost)
	by palle.girgensohn.se (8.12.9/8.12.9/Submit) id h830j0qi064576;
	Wed, 3 Sep 2003 02:45:00 +0200 (CEST)
	(envelope-from girgen)
Message-Id: <200309030045.h830j0qi064576@palle.girgensohn.se>
Date: Wed, 3 Sep 2003 02:45:00 +0200 (CEST)
From: Palle Girgensohn <girgen@pingpong.net>
Reply-To: Palle Girgensohn <girgen@pingpong.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: postgresql-doc - modify postgresql slave ports build behaviour
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56346
>Category:       ports
>Synopsis:       postgresql-doc - modify postgresql slave ports build behaviour
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 17:50:19 PDT 2003
>Closed-Date:    Thu Sep 04 04:17:51 PDT 2003
>Last-Modified:  Thu Sep 04 04:17:51 PDT 2003
>Originator:     Palle Girgensohn <girgen@pingpong.net>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
PING PONG
>Environment:
System: FreeBSD palle.girgensohn.se 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 29 17:21:22 CEST 2002     root@palle.girgensohn.se:/usr/local/obj/usr/src/sys/STORDATAN  i386
	
>Description:
The postgresql slave ports now use .include to get info about version
etc from the master port. This has drawbacks, and the now introduced
scheme, using `...!= make -V ...', is better.

	
>How-To-Repeat:
	
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql-docs/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	19 Jun 2003 09:12:55 -0000	1.7
+++ Makefile	2 Sep 2003 22:13:03 -0000
@@ -4,20 +4,21 @@
 #
 # $FreeBSD: ports/databases/postgresql-docs/Makefile,v 1.7 2003/06/19 09:12:55 daichi Exp $
 #
+POSTGRESQL_PORT?=	databases/postgresql7
 
 PORTNAME=	postgresql
+PORTVERSION!=	${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION
+CATEGORIES=	databases java
+MASTER_SITES=	${MASTER_SITE_PGSQL}
+MASTER_SITE_SUBDIR!=	${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR
 PKGNAMESUFFIX=	-docs
-PORTREVISION=	0
+DISTFILES=	postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
+DIST_SUBDIR=	postgresql
 
 MAINTAINER=	girgen@pingpong.net
 COMMENT=	The PostgreSQL documentation set
 
-POSTGRESQL_SUBPORT=	YES
-POSTGRESQL_PORT?=	databases/postgresql7
-.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
-DISTFILES=	postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
-.undef USE_GMAKE
-.undef GNU_CONFIGURE
+MD5_FILE=	${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo
 NO_BUILD=	YES
 
 do-install:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Thu Sep 4 04:16:47 PDT 2003 
State-Changed-Why:  
New (latest) edition committed! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56346 
>Unformatted:
