diff --git a/lang/expect/Makefile b/lang/expect/Makefile index b6b9dcf47fa..a01dcbad1bd 100644 --- a/lang/expect/Makefile +++ b/lang/expect/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.45 2005/06/12 12:04:00 sturm Exp $ +# $OpenBSD: Makefile,v 1.46 2005/12/25 20:42:47 alek Exp $ COMMENT= "sophisticated scripter based on Tcl/Tk" DISTNAME= expect-5.43.0 +SHARED_LIBS= expect543 1.2 CATEGORIES= lang MASTER_SITES= http://expect.nist.gov/old/ @@ -25,6 +26,7 @@ CONFIGURE_STYLE=gnu CONFIGURE_ARGS+=${CONFIGURE_SHARED} CONFIGURE_ARGS+=--with-tclconfig="${LOCALBASE}/lib/tcl8.4"\ --with-tclinclude="${LOCALBASE}/include/tcl8.4" +CONFIGURE_ENV= LIBexpect543_VERSION=${LIBexpect543_VERSION} .if !${FLAVOR:L:Mno_tk} USE_X11= Yes diff --git a/lang/expect/patches/patch-configure b/lang/expect/patches/patch-configure index 412a61df878..93732deedee 100644 --- a/lang/expect/patches/patch-configure +++ b/lang/expect/patches/patch-configure @@ -1,11 +1,11 @@ --- configure.orig Tue Feb 8 03:01:27 2005 -+++ configure Sun Jun 12 10:07:51 2005 ++++ configure Sun Dec 25 11:54:57 2005 @@ -6382,7 +6382,7 @@ echo $ac_n "checking for type of library echo "configure:6383: checking for type of library to build" >&5 if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_SUFFIX}" != "x" ; then EXP_SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS - eval "EXP_SHARED_LIB_FILE=libexpect${TCL_SHARED_LIB_SUFFIX}" -+ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.1.2" ++ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.${LIBexpect543_VERSION}" EXP_LIB_FILE=$EXP_SHARED_LIB_FILE EXP_LIB_FILES="$EXP_SHARED_LIB_FILE $EXP_UNSHARED_LIB_FILE" echo "$ac_t""both shared and unshared" 1>&6 diff --git a/lang/expect/pkg/PFRAG.shared b/lang/expect/pkg/PFRAG.shared index 61c5c639b6b..1f5e4af43e1 100644 --- a/lang/expect/pkg/PFRAG.shared +++ b/lang/expect/pkg/PFRAG.shared @@ -1,3 +1,3 @@ -@comment $OpenBSD: PFRAG.shared,v 1.7 2005/06/12 12:04:00 sturm Exp $ +@comment $OpenBSD: PFRAG.shared,v 1.8 2005/12/25 20:42:48 alek Exp $ lib/expect5.43/pkgIndex.tcl -@lib lib/libexpect543.so.1.2 +@lib lib/libexpect543.so.${LIBexpect543_VERSION}