From root@kiwi.adsl.isdnet.net  Mon Apr 14 05:25:53 2003
Return-Path: <root@kiwi.adsl.isdnet.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 77B5237B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 05:25:52 -0700 (PDT)
Received: from kaneda.oav.net (kaneda.oav.net [195.154.210.144])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 56B7843F85
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 05:25:51 -0700 (PDT)
	(envelope-from root@kiwi.adsl.isdnet.net)
Received: from kiwi.adsl.isdnet.net (kiwi.adsl.isdnet.net [195.154.177.33])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by kaneda.oav.net (Postfix) with ESMTP id 92D2D15677
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 11:57:42 +0200 (CEST)
	(envelope-from root@kiwi.adsl.isdnet.net)
Received: by kiwi.adsl.isdnet.net (Postfix, from userid 0)
	id 22E5026C10; Mon, 14 Apr 2003 11:51:17 +0200 (CEST)
Message-Id: <20030414095117.22E5026C10@kiwi.adsl.isdnet.net>
Date: Mon, 14 Apr 2003 11:51:17 +0200 (CEST)
From: Xavier Beaudouin <kiwi@oav.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Maintainer Update: lang/pike72 to 7.2.294 + fix for unbuildable port.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50938
>Category:       ports
>Synopsis:       Maintainer Update: lang/pike72 to 7.2.294 + fix for unbuildable port.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 05:30:15 PDT 2003
>Closed-Date:    Tue May 06 02:26:02 PDT 2003
>Last-Modified:  Tue May 06 02:26:02 PDT 2003
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 4.7-RELEASE-p10 alpha
>Organization:
The Caudium Group
>Environment:
System: FreeBSD alpha.home.oav.net 4.7-RELEASE-p10 FreeBSD 4.7-RELEASE-p10 #0: Tue Apr 8 18:16:32 CEST 2003 root@alpha.home.oav.net:/usr/src/sys/compile/ALPHA alpha

Port tree from today 11:30 CEST

	
>Description:

Update to version 7.2.294 and removed GNOME dependency to fix unbuildable port.
(This can close pr ports/50838).
Added build dependency to gmp4 only when FreeBSD 5.0 is detected.

>How-To-Repeat:
	
>Fix:


diff -u --new-file --recursive pike72.old/Makefile pike72/Makefile
--- pike72.old/Makefile	Mon Apr 14 08:26:11 2003
+++ pike72/Makefile	Mon Apr 14 11:42:17 2003
@@ -2,11 +2,11 @@
 # Date created:         16 Jan 1999
 # Whom:                 vns@delta.odessa.ua
 #
-# $FreeBSD: ports/lang/pike72/Makefile,v 1.16 2003/04/14 06:26:11 edwin Exp $
+# $FreeBSD: ports/lang/pike72/Makefile,v 1.15 2003/02/21 12:35:06 knu Exp $
 #
 
 PORTNAME=	pike72
-PORTVERSION=	7.2.440
+PORTVERSION=	7.2.492
 PORTREVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.oav.net/pkg_freebsd/distfiles/ \
@@ -25,8 +25,7 @@
 BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm/
 .endif
 
-LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4 \
-		jpeg.9:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
 		tiff.4:${PORTSDIR}/graphics/tiff \
 		gdbm.3:${PORTSDIR}/databases/gdbm \
 		mird.1:${PORTSDIR}/databases/mird
@@ -35,9 +34,7 @@
 
 WANT_MESA=	yes
 WANT_GTK=	yes
-WANT_GNOME=	yes
-#USE_AUTOCONF_VER=213
-#USE_AUTOMAKE=	yes
+#WANT_GNOME=	yes
 USE_BISON=	yes
 
 GNU_CONFIGURE=  yes
@@ -67,10 +64,17 @@
 		 --without-ssleay
 #		 --with-gdbm=${PREFIX} \
 #		 --without-relocatable-dumped-modules \
-PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
 .include <bsd.port.pre.mk>
 
+PLIST_SUB+=	PORTVERSION=${PORTVERSION}
+
+# FreeBSD 5.0 Needs to have libgmp port to support gmp.
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+=   gmp.6:${PORTSDIR}/math/libgmp4
+.endif
+
+
 .if exists(${LOCALBASE}/lib/libttf.so.4)
 WITH_TTF=	yes
 .endif
@@ -177,7 +181,7 @@
 .endif
 
 .if defined(WITH_PDF)
-LIB_DEPENDS+=	pdf.4:${PORTSDIR}/print/pdflib4
+LIB_DEPENDS+=	pdf.5:${PORTSDIR}/print/pdflib4
 CONFIGURE_ARGS+= --with-libpdf
 .else
 CONFIGURE_ARGS+= --without-libpdf
@@ -191,14 +195,14 @@
 CONFIGURE_ARGS+= --without-GL --without-GLUT
 .endif
 
-.if defined(HAVE_GNOME)
-USE_GNOME=	yes
-USE_GTK=	yes
-USE_GLI=	yes
-CONFIGURE_ARGS+= --with-GTK --with-gnome --with-glade
-.else
+#.if defined(HAVE_GNOME)
+#USE_GNOME=	yes
+#USE_GTK=	yes
+#USE_GLI=	yes
+#CONFIGURE_ARGS+= --with-GTK --with-gnome --with-glade
+#.else
 CONFIGURE_ARGS+= --without-GTK --without-gnome --without-glade
-.endif
+#.endif
 
 .if (${MACHINE} == "i386")
 CONFIGURE_ARGS+= --with-poll
@@ -244,7 +248,6 @@
 	@${ECHO_MSG} "You can enable most of the features here except Sane,"
 	@${ECHO_MSG} "MesaGLi, GNOME and SQL support by defining WITH_MOST."
 .endif
-
 
 pre-configure:
 #	@cd ${WRKSRC}; \
diff -u --new-file --recursive pike72.old/distinfo pike72/distinfo
--- pike72.old/distinfo	Tue Feb 11 08:12:56 2003
+++ pike72/distinfo	Sun Apr 13 19:30:41 2003
@@ -1 +1 @@
-MD5 (pike-7.2.440.tar.gz) = 1c1b6e166b4368f8c447bacba7a7295c
+MD5 (pike-7.2.492.tar.gz) = d6f458ece48b395cf40feb9d7bdc1bc2

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Tue May 6 02:26:01 PDT 2003 
State-Changed-Why:  
Committed with minor modifications, thanks. 

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