Date: Wed, 3 Sep 2003 02:44:00 +0200 (CEST) From: Palle Girgensohn <girgen@pingpong.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/56345: p5-postgresql-plperl - modify postgresql slave ports build behaviour Message-ID: <200309030044.h830i0mf063990@palle.girgensohn.se> Resent-Message-ID: <200309030050.h830oJxj070203@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56345 >Category: ports >Synopsis: p5-postgresql-plperl - 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:19 PDT 2003 >Closed-Date: >Last-Modified: >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/p5-postgresql-plperl/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:33:13 -0000 @@ -1,31 +1,41 @@ -# New ports collection makefile for: PostgreSQL PL/Perl +# New ports collection makefile for: PostgreSQL PL/Perl # Date created: January 14, 2002 # Whom: Palle Girgensohn <girgen@partitur.se> # # $FreeBSD: ports/databases/p5-postgresql-plperl/Makefile,v 1.7 2003/06/19 09:12:55 daichi Exp $ # +POSTGRESQL_PORT?= databases/postgresql7 -PORTNAME= postgresql-plperl -CATEGORIES= databases perl5 +PORTNAME= postgresql +PORTVERSION!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION +PORTREVISION= 1 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_PGSQL} +MASTER_SITE_SUBDIR!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR PKGNAMEPREFIX= p5- -PORTREVISION= 0 +PKGNAMESUFFIX= -plperl +DISTFILES!= ${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V DISTFILES +DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= A module for using Perl5 to write SQL functions -POSTGRESQL_PORT?= databases/postgresql7 -POSTGRESQL_SUBPORT=YES -.include "../../${POSTGRESQL_PORT}/Makefile" - RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} +MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo USE_PERL5= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-perl - MAKE_ARGS+= -C src/pl/plperl MAKEFILE= GNUmakefile +.include <bsd.port.pre.mk> +.if ${OSVERSION} >= 500000 +BROKEN= Cannot build PL/Perl because libperl is not a shared library. +.endif + post-install: @ ${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309030044.h830i0mf063990>