From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 2 17:50:29 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2DB916A4C0 for ; Tue, 2 Sep 2003 17:50:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E109C4400F for ; Tue, 2 Sep 2003 17:50:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h830oKUp070257 for ; Tue, 2 Sep 2003 17:50:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h830oKnL070256; Tue, 2 Sep 2003 17:50:20 -0700 (PDT) Resent-Date: Tue, 2 Sep 2003 17:50:20 -0700 (PDT) Resent-Message-Id: <200309030050.h830oKnL070256@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Palle Girgensohn Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4C2116A4BF for ; Tue, 2 Sep 2003 17:48:57 -0700 (PDT) Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BD824400B for ; Tue, 2 Sep 2003 17:48:53 -0700 (PDT) (envelope-from girgen@smtp.chello.se) Received: from palle.girgensohn.se ([213.89.138.245]) by amsfep14-int.chello.nlESMTP <20030903004852.VAEP5521.amsfep14-int.chello.nl@palle.girgensohn.se> for ; Wed, 3 Sep 2003 02:48:52 +0200 Received: from palle.girgensohn.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.9/8.12.9) with ESMTP id h830mpfb066034 for ; Wed, 3 Sep 2003 02:48:51 +0200 (CEST) (envelope-from girgen@palle.girgensohn.se) Received: (from girgen@localhost) by palle.girgensohn.se (8.12.9/8.12.9/Submit) id h830mpa1066033; Wed, 3 Sep 2003 02:48:51 +0200 (CEST) (envelope-from girgen) Message-Id: <200309030048.h830mpa1066033@palle.girgensohn.se> Date: Wed, 3 Sep 2003 02:48:51 +0200 (CEST) From: Palle Girgensohn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/56349: postgresql-tcltk - modify postgresql slave ports build behaviour X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Palle Girgensohn List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 00:50:29 -0000 >Number: 56349 >Category: ports >Synopsis: postgresql-tcltk - modify postgresql slave ports build behaviour >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Sep 02 17:50:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >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: cvs diff: Diffing . Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-tcltk/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 13 Jul 2003 15:40:57 -0000 1.8 +++ Makefile 2 Sep 2003 23:28:35 -0000 @@ -4,21 +4,26 @@ # # $FreeBSD: ports/databases/postgresql-tcltk/Makefile,v 1.8 2003/07/13 15:40:57 alex Exp $ # +POSTGRESQL_PORT?= databases/postgresql7 -PORTNAME= postgresql-tcltk +PORTNAME= postgresql +PORTVERSION!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION +PORTREVISION= 1 CATEGORIES= databases tcl83 tk83 -PORTREVISION= 0 +MASTER_SITES= ${MASTER_SITE_PGSQL} +MASTER_SITE_SUBDIR!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR +PKGNAMESUFFIX= -tcltk +DISTFILES!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V DISTFILES +DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI -POSTGRESQL_PORT?= databases/postgresql7 -POSTGRESQL_SUBPORT=YES -.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> - LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \ pq:${PORTSDIR}/${POSTGRESQL_PORT} +MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo + # you can use "make TCLVERSION=8.4" or similar for your favourite tcl version TCLVERSION?= 8.3 PLIST_SUB+= TCLVERSION=${TCLVERSION} @@ -29,13 +34,6 @@ TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} -CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ - CFLAGS=-DPGTCL_USE_TCLOBJ - -.if defined(WITHOUT_X11) -WITHOUT_TK= yes -.endif - CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ CFLAGS=-DPGTCL_USE_TCLOBJ cvs diff: Diffing files >Release-Note: >Audit-Trail: >Unformatted: