From owner-freebsd-ports Wed May 5 11: 0: 7 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9243F14F66 for ; Wed, 5 May 1999 11:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA42003; Wed, 5 May 1999 11:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from voyager.fisicc-ufm.edu (ip-46-094.guate.net [200.12.46.94]) by hub.freebsd.org (Postfix) with ESMTP id 9104214F46 for ; Wed, 5 May 1999 10:56:11 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from root@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id LAA42266; Wed, 5 May 1999 11:56:06 -0600 (CST) (envelope-from obonilla) Message-Id: <199905051756.LAA42266@voyager.fisicc-ufm.edu> Date: Wed, 5 May 1999 11:56:06 -0600 (CST) From: obonilla@fisicc-ufm.edu Reply-To: obonilla@fisicc-ufm.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11522: Otcl doesn't check for X Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11522 >Category: ports >Synopsis: Otcl doesn't check for X >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 5 11:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Oscar Bonilla >Release: FreeBSD 3.1-STABLE i386 >Organization: Universidad Francisco Marroquin - FISICC >Environment: >Description: if X is not installed, otcl crashes :) >How-To-Repeat: make install otcl without X installed >Fix: Here's the corrected port. I should have sent diffs, but i removed the original Makefile... oops :) it's easier to just add USE_XLIB= yes # 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: # # otcl # otcl/Makefile # otcl/pkg # otcl/pkg/COMMENT # otcl/pkg/DESCR # otcl/pkg/PLIST # otcl/pkg/PLIST~ # otcl/files # otcl/files/md5 # otcl/README.html # otcl/patches # otcl/patches/patch-aa # echo c - otcl mkdir -p otcl > /dev/null 2>&1 echo x - otcl/Makefile sed 's/^X//' >otcl/Makefile << 'END-of-otcl/Makefile' X# New ports collection makefile for: otcl X# Version required: 1.0a4 X# Date created: 23 April 1999 X# Whom: obonilla X# X# $Id: Makefile,v 1.1.1.1 1999/04/30 16:36:22 taoka Exp $ X# X XDISTNAME= otcl-1.0a4 XCATEGORIES= lang XMASTER_SITES= http://www-mash.cs.berkeley.edu/dist/ X XMAINTAINER= obonilla@fisicc-ufm.edu X XLIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 X XUSE_XLIB= yes X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --includedir=${PREFIX}/include/tcl8.0/generic X.include END-of-otcl/Makefile echo c - otcl/pkg mkdir -p otcl/pkg > /dev/null 2>&1 echo x - otcl/pkg/COMMENT sed 's/^X//' >otcl/pkg/COMMENT << 'END-of-otcl/pkg/COMMENT' XMIT Object Tcl END-of-otcl/pkg/COMMENT echo x - otcl/pkg/DESCR sed 's/^X//' >otcl/pkg/DESCR << 'END-of-otcl/pkg/DESCR' XFrom the README: X X OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for X object-oriented programming. It shouldn't be confused with the IXI X Object Tcl extension by Dean Sheenan. (Sorry, but we both like the X name and have been using it for a while.) X X Some of OTcl's features as compared to alternatives are: X * designed to be dynamically extensible, like Tcl, from the ground X up X * builds on Tcl syntax and concepts rather than importing another X language X * compact yet powerful object programming system (draws on CLOS, X Smalltalk, and Self) X * fairly portable implementation (2000 lines of C, without core X hacks) X X OTcl was presented at the Tcl/Tk Workshop '95. It constitutes a X standalone release of a system that has been in use, embedded in the X VuSystem, for two years. We made the release public (with free use, X distribution and modification under the MIT license) to meet the X demand for object-oriented programming in Tcl. X X-Oscar END-of-otcl/pkg/DESCR echo x - otcl/pkg/PLIST sed 's/^X//' >otcl/pkg/PLIST << 'END-of-otcl/pkg/PLIST' Xbin/otclsh Xbin/owish Xinclude/otcl.h Xlib/libotcl.a Xlib/libotcl.so.1 END-of-otcl/pkg/PLIST echo x - otcl/pkg/PLIST~ sed 's/^X//' >otcl/pkg/PLIST~ << 'END-of-otcl/pkg/PLIST~' Xbin/otclsh Xbin/owish Xinclude/otcl.h Xlib/libotcl.a Xlib/libotcl.so Xlib/libotcl.so.1 Xshare/doc/otcl/ X@dirrm share/doc/otcl END-of-otcl/pkg/PLIST~ echo c - otcl/files mkdir -p otcl/files > /dev/null 2>&1 echo x - otcl/files/md5 sed 's/^X//' >otcl/files/md5 << 'END-of-otcl/files/md5' XMD5 (otcl-1.0a4.tar.gz) = 1aafd63973857991b90d08b9dcf29e03 END-of-otcl/files/md5 echo x - otcl/README.html sed 's/^X//' >otcl/README.html << 'END-of-otcl/README.html' X X The FreeBSD Ports Collection (lang/otcl) X

The FreeBSD Ports Collection ("lang/otcl")


X X X

You are now in the directory for the port "lang/otcl" (package name "otcl-1.0a4"). X X

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


XMIT Object Tcl X


X X

Please read the file "pkg/DESCR" 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) "tcl-8.0.5" to build. X

XThis port requires package(s) "tcl-8.0.5" to run. X X


X Go up one level X| X Go to top of ports tree X X END-of-otcl/README.html echo c - otcl/patches mkdir -p otcl/patches > /dev/null 2>&1 echo x - otcl/patches/patch-aa sed 's/^X//' >otcl/patches/patch-aa << 'END-of-otcl/patches/patch-aa' X--- configure.~1~ Tue Feb 23 07:18:58 1999 X+++ configure Fri Apr 30 23:57:31 1999 X@@ -2607,7 +2607,7 @@ X if test -e /usr/include/dlfcn.h; then X SHLIB_CFLAGS="-fpic" X SHLIB_LD="ld -Bshareable" X- SHLIB_SUFFIX=".so" X+ SHLIB_SUFFIX=".so.1" X DL_LIBS="" X SHLD_FLAGS="" X else END-of-otcl/patches/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message