Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 11:56:06 -0600 (CST)
From:      obonilla@fisicc-ufm.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11522: Otcl doesn't check for X
Message-ID:  <199905051756.LAA42266@voyager.fisicc-ufm.edu>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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 <obonilla@fisicc-ufm.edu>
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<html>
X<title> The FreeBSD Ports Collection (lang/otcl)</title>
X<head><h1> The FreeBSD Ports Collection ("lang/otcl")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "lang/otcl" (package name "otcl-1.0a4").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
XMIT Object Tcl
X<p><hr>
X
X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
XThis port requires package(s) "tcl-8.0.5" to build.
X<p>
XThis port requires package(s) "tcl-8.0.5" to run.
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905051756.LAA42266>