From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 23 20:20:15 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 0A46137B401 for ; Wed, 23 Jul 2003 20:20:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2950D43FAF for ; Wed, 23 Jul 2003 20:20:14 -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 h6O3KDUp032513 for ; Wed, 23 Jul 2003 20:20:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6O3KDmF032512; Wed, 23 Jul 2003 20:20:13 -0700 (PDT) Resent-Date: Wed, 23 Jul 2003 20:20:13 -0700 (PDT) Resent-Message-Id: <200307240320.h6O3KDmF032512@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, Andy Hauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3622A37B401 for ; Wed, 23 Jul 2003 20:15:49 -0700 (PDT) Received: from paladin.fortunaty.net (fortunaty.net [217.160.129.175]) by mx1.FreeBSD.org (Postfix) with SMTP id 7AA0743FD7 for ; Wed, 23 Jul 2003 20:15:47 -0700 (PDT) (envelope-from ah@paladin.fortunaty.net) Received: (qmail 7266 invoked by uid 501); 24 Jul 2003 03:15:45 -0000 Message-Id: <20030724031544.7265.qmail@paladin.fortunaty.net> Date: 24 Jul 2003 03:15:44 -0000 From: Andy Hauser To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: mathiasp@virtual-earth.de Subject: ports/54792: [patch] port lang/mozart unbreak and update to 1.2.5.20030212 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Hauser List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 03:20:15 -0000 >Number: 54792 >Category: ports >Synopsis: [patch] port lang/mozart unbreak and update to 1.2.5.20030212 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 23 20:20:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Andy Hauser >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD tower.paradise.splashground.de 5.1-RELEASE FreeBSD 5.1-RELEASE #7: Sat Jul 5 00:49:17 CEST 2003 root@tower.paradise.splashground.de:/usr/obj/usr/src/sys/TOWER i386 >Description: Brocken when libgpm went out of the base, i guess. Additionally the port includes values.h instead of limits.h and float.h. See patch in the shar. >How-To-Repeat: portupgrade lang/mozart >Fix: See attached the shar of my lang/mozart directory. It upgrade to newer version of mozart and adds a patch to use float.h and limits.h instead of values.h. Unfortunatly the gtk bindings for mozart are now split into its own package or something and I didn't try to integrate it. Would probably be better to make an own port of that extra package anyways. Since I have neither experience with porting or mozart itself, i could miss important stuff. Though it seemed to work and also a package made of it seemed to work on a different machine. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lang/mozart # lang/mozart/scripts # lang/mozart/scripts/post-install # lang/mozart/Makefile # lang/mozart/README.html # lang/mozart/distinfo # lang/mozart/pkg-descr # lang/mozart/pkg-message # lang/mozart/pkg-plist # lang/mozart/files # lang/mozart/files/patch-aa # echo c - lang/mozart mkdir -p lang/mozart > /dev/null 2>&1 echo c - lang/mozart/scripts mkdir -p lang/mozart/scripts > /dev/null 2>&1 echo x - lang/mozart/scripts/post-install sed 's/^X//' >lang/mozart/scripts/post-install << 'END-of-lang/mozart/scripts/post-install' X#!/bin/sh X X${PERL} -p -i -e"s:# OZHOME=.*:OZHOME=${PREFIX}/lib/oz:" ${PREFIX}/lib/oz/bin/oz X X${LN} -sf ${PREFIX}/lib/oz/bin/* ${PREFIX}/bin END-of-lang/mozart/scripts/post-install echo x - lang/mozart/Makefile sed 's/^X//' >lang/mozart/Makefile << 'END-of-lang/mozart/Makefile' X# New ports collection makefile for: mozart X# Date created: 23. June 2000 X# Whom: Mathias Picker X# X# $FreeBSD: ports/lang/mozart/Makefile,v 1.17 2003/05/06 21:26:58 kris Exp $ X# X XPORTNAME= mozart XPORTVERSION= 1.2.5.20030212 XCATEGORIES= lang tk83 parallel XMASTER_SITES= ftp://ftp.mozart-oz.org/pub/mozart/${PORTVERSION}/tar/ \ X ftp://ftp.sics.se/pub/mozart/${PORTVERSION}/tar/ XDISTFILES= ${DISTNAME}-src.tar.gz ${MOZART_DOCS} X.if !defined(NOPORTDOCS) XDISTFILES+= ${MOZART_DOCS} X.endif X XMAINTAINER= mathiasp@virtual-earth.de XCOMMENT= A distributed language with constraint-based inference X XBUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs21\ X ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4 XLIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ X gmp.6:${PORTSDIR}/math/libgmp4\ X tk83.1:${PORTSDIR}/x11-toolkits/tk83 X XMOZART_DOCS= mozart-${PORTVERSION}-doc.tar.gz X XSCRIPTS_ENV= LN=${LN} PERL=${PERL} XALL_TARGET= XMAKE_ARGS= PREFIX=${PREFIX}/lib/oz XUSE_BISON= yes XUSE_GMAKE= yes XHAS_CONFIGURE= yes XUSE_XLIB= yes XWANT_AUTOCONF_VER= 213 X# magic wand: set INSTALL to some absurd value, or else X# mozart's configure will not find the right install X# when configuring as root. XCONFIGURE_ENV= INSTALL=${CHMOD} XCONFIGURE_ARGS= --prefix=${PREFIX}/lib/oz --disable-doc \ X --with-inc-dir=${LOCALBASE}/include/tcl8.3,${LOCALBASE}/include/tk8.3,${LOCALBASE}/include \ X --with-lib-dir=${LOCALBASE}/lib --with-tcl-lib=${LOCALBASE}/lib \ X --with-tk-lib=${LOCALBASE}/lib \ X --with-tkinclude=${LOCALBASE}/include/tk8.3 X Xpre-extract: X @${ECHO} X @${ECHO} ----------------------------------------------------- X @${ECHO} X @${ECHO} If you have problems building mozart, X @${ECHO} deinstall any old version of mozart X @${ECHO} and unset OZHOME X @${ECHO} X @${ECHO} ---------------------------------------------------- X @${ECHO} X Xpost-patch: X #cd ${WRKSRC}/contrib/gtk \ X # && ${AUTOCONF} ${AUTOCONF_ARGS} -l ${WRKSRC} X cd ${WRKSRC}/platform/emulator \ X && ${AUTOCONF} ${AUTOCONF_ARGS} -l ${WRKSRC} X cd ${WRKSRC}/platform/tools/gump/ozflex \ X && ${AUTOCONF} ${AUTOCONF_ARGS} -l ${WRKSRC} X Xpost-install: X.if !defined(NOPORTDOCS) X @${TAR} --unlink -xzpf ${DISTDIR}/${MOZART_DOCS} \ X -C ${PREFIX}/lib/oz X @${RM} -rf ${PREFIX}/lib/oz/doc X @${MV} ${PREFIX}/lib/oz/mozart/doc ${PREFIX}/lib/oz X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/oz/doc X @${FIND} ${PREFIX}/lib/oz -type d -print0 \ X | ${XARGS} -0 ${CHMOD} 755 X @${FIND} ${PREFIX}/lib/oz/doc -type f -print0 \ X | ${XARGS} -0 ${CHMOD} ${SHAREMODE} X @${RM} -rf ${PREFIX}/lib/oz/mozart X.endif X @cd ${PREFIX} ; ${FIND} lib/oz -type f -o -type l | sort \ X > ${WRKDIR}/PLIST.lib-oz X @cd ${PREFIX} ; ${FIND} lib/oz -type d | sort -r \ X | ${SED} -e 's/^/@dirrm /g' \ X >> ${WRKDIR}/PLIST.lib-oz X @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script X @${ECHO_CMD} "/Insert PLIST.lib-oz" >> ${WRKDIR}/ex.script X @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script X @${ECHO_CMD} "r ${WRKDIR}/PLIST.lib-oz" >> ${WRKDIR}/ex.script X @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script X @${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-oz X @cd ${WRKDIR} ; ex < ex.script X @${CAT} ${PKGMESSAGE} X X.include END-of-lang/mozart/Makefile echo x - lang/mozart/README.html sed 's/^X//' >lang/mozart/README.html << 'END-of-lang/mozart/README.html' X X The FreeBSD Ports Collection (lang/mozart) X

The FreeBSD Ports Collection ("lang/mozart")


X X X

You are now in the directory for the port "lang/mozart" (package name "mozart-1.2.4.20020829"). X X

This is the one-line description for this port: X X


XA distributed language with constraint-based inference X


X X

Please read the "description file" for a Xlonger description. X X

Go to the top of the ports tree for Xa summary on how to use the ports collection. X X

XThis port requires package(s) "XFree86-libraries-4.2.1_5 Xaw3d-1.5 autoconf213-2.13.000227_5 bison-1.75 emacs-21.2_2 expat-1.95.5 freetype2-2.1.2_1 gdbm-1.8.0 gettext-0.11.5_1 gmake-3.80 imake-4.2.0_1 jpeg-6b_1 libiconv-1.8_2 libungif-4.1.0b1 m4-1.4_1 perl-5.6.1_11 png-1.2.5 tcl-8.3.5 tiff-3.5.7 tk-8.3.5" to build. X

XThis port requires package(s) "XFree86-libraries-4.2.1_5 freetype2-2.1.2_1 gdbm-1.8.0 imake-4.2.0_1 perl-5.6.1_11 tcl-8.3.5 tk-8.3.5" to run. X X


X Go up one level X| X Go to top of ports tree X X END-of-lang/mozart/README.html echo x - lang/mozart/distinfo sed 's/^X//' >lang/mozart/distinfo << 'END-of-lang/mozart/distinfo' XMD5 (mozart-1.2.5.20030212-src.tar.gz) = b3811893c9a230a46ee4e5b4eeb5d65c XMD5 (mozart-1.2.5.20030212-doc.tar.gz) = 389ee3f247ccb95e58bd949db4612875 END-of-lang/mozart/distinfo echo x - lang/mozart/pkg-descr sed 's/^X//' >lang/mozart/pkg-descr << 'END-of-lang/mozart/pkg-descr' XThe Mozart system provides state-of-the-art support in two areas: open Xdistributed computing and constraint-based inference. Mozart Ximplements Oz, a concurrent object-oriented language with dataflow Xsynchronization. Oz combines concurrent and distributed programming Xwith logical constraint-based inference, making it a unique choice for Xdeveloping multi-agent systems. Mozart is an ideal platform for both Xgeneral-purpose distributed applications as well as for hard problems Xrequiring sophisticated optimization and inferencing abilities. We Xhave developed applications in scheduling and time-tabling, in Xplacement and configuration, in natural language and knowledge Xrepresentation, multi-agent systems and sophisticated collaborative Xtools. X XFor more check the excellent documentation at: X XWWW: http://www.mozart-oz.org/ X X- Mathias Xmathiasp@virtual-earth.de END-of-lang/mozart/pkg-descr echo x - lang/mozart/pkg-message sed 's/^X//' >lang/mozart/pkg-message << 'END-of-lang/mozart/pkg-message' X-------------------------------------------------- X XIf you have both emacs and xemacs installed, Xset OZEMACS=xemacs in your .profile or .login Xto choose xemacs over emacs. X X-------------------------------------------------- END-of-lang/mozart/pkg-message echo x - lang/mozart/pkg-plist sed 's/^X//' >lang/mozart/pkg-plist << 'END-of-lang/mozart/pkg-plist' Xbin/convertTextPickle Xbin/oldpickle2text Xbin/oz Xbin/ozc Xbin/ozd Xbin/ozengine Xbin/ozl Xbin/ozplatform Xbin/oztool Xbin/pickle2text Xbin/text2pickle X@comment Insert PLIST.lib-oz here X@comment -=[ begin PLIST.lib-oz ]=- X@comment -=[ end PLIST.lib-oz ]=- END-of-lang/mozart/pkg-plist echo c - lang/mozart/files mkdir -p lang/mozart/files > /dev/null 2>&1 echo x - lang/mozart/files/patch-aa sed 's/^X//' >lang/mozart/files/patch-aa << 'END-of-lang/mozart/files/patch-aa' X--- platform/emulator/libfd/std.cc Tue Aug 20 16:19:47 2002 X+++ platform/emulator/libfd/std.cc Thu Jul 24 01:55:16 2003 X@@ -44,7 +44,8 @@ X X #else X X-#include X+#define DMAXPOWTWO 3321 X+#include X X #endif X END-of-lang/mozart/files/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: