From e1ecb662c41aab0a60cb9fe531c1d2edc7ab6489 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 28 Sep 1998 15:15:04 +0000 Subject: ELFization patch. PR: ports/8047 Submitted by: Taguchi Takeshi --- japanese/expect/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'japanese/expect/Makefile') diff --git a/japanese/expect/Makefile b/japanese/expect/Makefile index def23f734a0e..286a33ac6b2d 100644 --- a/japanese/expect/Makefile +++ b/japanese/expect/Makefile @@ -3,21 +3,19 @@ # Date created: 17 Oct 1997 # Whom: taguchi # -# $Id: Makefile,v 1.9 1998/07/21 13:26:01 asami Exp $ +# $Id: Makefile,v 1.10 1998/07/27 00:12:13 steve Exp $ # DISTNAME= expect-5.26 PKGNAME= ja-expect-5.26 CATEGORIES= japanese lang tk80 +MASTER_SITES= ftp://peloton.physics.montana.edu/pub/distfiles/ MAINTAINER= taguchi@tohoku.iij.ad.jp -LIB_DEPENDS= tk80jp\\.1\\.:${PORTSDIR}/japanese/tk80 +LIB_DEPENDS= tk80jp.1:${PORTSDIR}/japanese/tk80 -FILESDIR= ${.CURDIR}/../../lang/expect/files -GNU_CONFIGURE= yes USE_AUTOCONF= yes -CFLAGS= -DKANJI -DKINPUT2 CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" CONFIGURE_ARGS= --enable-shared --with-tclconfig=${PREFIX}/lib/tcl8.0jp \ --with-tkconfig=${PREFIX}/lib/tk8.0jp \ @@ -26,4 +24,10 @@ CONFIGURE_ARGS= --enable-shared --with-tclconfig=${PREFIX}/lib/tcl8.0jp \ NO_MAN_INSTALL= yes -.include "${.CURDIR}/../../lang/expect/Makefile" +post-install: + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + if [ "${PORTOBJFORMAT}" = "aout" ]; then \ + ${LN} -sf libexpect526jp.so.1.2 ${PREFIX}/lib/libexpect526jp.so; \ + fi + +.include -- cgit v1.2.3