ports/56348: postgresql-pltcl - modify postgresql slave ports build behaviour
Palle Girgensohn
girgen at pingpong.net
Wed Sep 3 00:50:29 UTC 2003
>Number: 56348
>Category: ports
>Synopsis: postgresql-pltcl - 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 <girgen at 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 at 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-pltcl/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 23:27:05 -0000
@@ -4,20 +4,25 @@
#
# $FreeBSD: ports/databases/postgresql-pltcl/Makefile,v 1.7 2003/06/19 09:12:55 daichi Exp $
#
+POSTGRESQL_PORT?= databases/postgresql7
-PORTNAME= postgresql-pltcl
+PORTNAME= postgresql
+PORTVERSION!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION
+PORTREVISION= 1
CATEGORIES= databases tcl83
-PORTREVISION= 0
+MASTER_SITES= ${MASTER_SITE_PGSQL}
+MASTER_SITE_SUBDIR!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR
+PKGNAMESUFFIX= -pltcl
+DISTFILES!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V DISTFILES
+DIST_SUBDIR= postgresql
MAINTAINER= girgen at pingpong.net
COMMENT= A module for using Tcl to write SQL functions
-POSTGRESQL_PORT?= databases/postgresql7
-POSTGRESQL_SUBPORT=YES
-.include "../../${POSTGRESQL_PORT}/Makefile"
-
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
RUN_DEPENDS= postgres:${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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list