ports/56349: postgresql-tcltk - modify postgresql slave ports build behaviour

Palle Girgensohn girgen at pingpong.net
Wed Sep 3 00:50:29 UTC 2003


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



More information about the freebsd-ports-bugs mailing list