SHARED_LIBS

ok steven@ strum@
This commit is contained in:
alek 2005-12-25 20:42:47 +00:00
parent 5b0e2b90a3
commit 903e70047b
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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}