Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 08:17:12 +0200 (SAST)
From:      Patrick Hyland <pbh@iafrica.com>
To:        freebsd-questions@freebsd.org
Subject:   installing the expect port
Message-ID:  <Pine.BSF.4.10.9907140812080.677-100000@paradox.ops.iafrica.com>

next in thread | raw e-mail | index | archive | help
Im trying to install expect but I dont want to build tk - which will
require me to build X

I only want tcl and expect to be built. 
How do I modify the make file to do this. Ive dont a make
extract on the expect port and am poking through the work directory
but im not having much luck.

Thanks if you can help.

Heres the port Makefile :

# New ports collection makefile for:	expect
# Date created:		20 November 1994
# Whom:			pst
# Version required:	5.28
#
# $Id: Makefile,v 1.38 1998/11/14 09:43:17 asami Exp $
#
# Note this file is included from japanese/expect/Makefile

DISTNAME=	expect-5.28
CATEGORIES=	lang tcl80 tk80
MASTER_SITES=	ftp://peloton.physics.montana.edu/pub/distfiles/

MAINTAINER=	ports@freebsd.org

LIB_DEPENDS?=	tk80.1:${PORTSDIR}/x11-toolkits/tk80

GNU_CONFIGURE=	yes
CONFIGURE_ARGS?= --enable-shared \
		--with-tclconfig=${PREFIX}/lib/tcl8.0 \
		--with-tclinclude=${PREFIX}/include/tcl8.0 \
		--with-tkconfig=${PREFIX}/lib/tk8.0 \
		--with-tkinclude=${PREFIX}/include/tk8.0
.if !defined(NO_MAN_INSTALL)
MAN1=		autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
		expect.1 expectk.1 kibitz.1 mkpasswd.1 passmass.1 \
		tknewsbiff.1 unbuffer.1 xkibitz.1
MAN3=		libexpect.3
.endif

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "elf"
SOLIB=	libexpect528.so.1
.else
SOLIB=	libexpect528.so.1.2
.endif

post-install:
	${LN} -sf ${SOLIB} ${PREFIX}/lib/libexpect528.so
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.post.mk>

Patrick Hyland http://mercury.lostinspace.za.net
UUNET SA +27+829232850 (C) 
         +27+216588761 (W)
While walking through a dark field of gently undulating cotton candy I
met a stranger lighting a fag in a clearing of pulsating emotion. A
rainbow of psychedelic flame



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907140812080.677-100000>