upgrade to libslang 1.4.5

This commit is contained in:
brad 2002-05-08 02:04:08 +00:00
parent 722ec09025
commit 7680421cdf
8 changed files with 159 additions and 149 deletions

View File

@ -1,28 +1,29 @@
# $OpenBSD: Makefile,v 1.31 2001/12/08 05:22:07 brad Exp $
# $OpenBSD: Makefile,v 1.32 2002/05/08 02:04:08 brad Exp $
COMMENT= "stack-based interpreter for terminal applications"
COMMENT= "stack-based interpreter for terminal applications"
DISTNAME= slang-1.4.4
PKGNAME= libslang-1.4.4
CATEGORIES= devel
NEED_VERSION= 1.500
VERSION= 1.4.5
DISTNAME= slang-${VERSION}
PKGNAME= libslang-${VERSION}
CATEGORIES= devel
NEED_VERSION= 1.522
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ \
http://gd.tuwien.ac.at/editors/davis/slang/v1.4/
http://gd.tuwien.ac.at/editors/davis/slang/v1.4/
HOMEPAGE= http://www.s-lang.org/
HOMEPAGE= http://www.s-lang.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
REGRESS_TARGET= runtests
REGRESS_FLAGS= TCAPLIB="-ltermlib"
REGRESS_TARGET= runtests
REGRESS_FLAGS= TCAPLIB="-ltermlib"
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (slang-1.4.4.tar.gz) = 111f8d2b8d7bc9bbb4d0593538553618
RMD160 (slang-1.4.4.tar.gz) = f28e2a178185d9b25648fe82c545de3ae09a8f5b
SHA1 (slang-1.4.4.tar.gz) = 4b6421929053edabee56d64b42ab46f25ae7e49b
MD5 (slang-1.4.5.tar.gz) = 9e597a0d3d07465e1014d5e020087e44
RMD160 (slang-1.4.5.tar.gz) = 1caebaee9e5c7ee0aa241373c8ba70bc4ea644d5
SHA1 (slang-1.4.5.tar.gz) = fcd43cdde43200a9d2d392cb9dc956337eabfb3f

View File

@ -0,0 +1,38 @@
$OpenBSD: patch-autoconf_aclocal_m4,v 1.1 2002/05/08 02:04:08 brad Exp $
--- autoconf/aclocal.m4.orig Tue May 7 19:22:54 2002
+++ autoconf/aclocal.m4 Tue May 7 19:28:19 2002
@@ -68,7 +68,7 @@ dnl# determine whether or not -R or -rpa
AC_DEFUN(JD_INIT_RPATH,
[
case "$host_os" in
- *linux*|*solaris* )
+ *linux*|*solaris*|*openbsd* )
if test "X$GCC" = Xyes
then
if test "X$ac_R_nospace" = "Xno"
@@ -566,6 +566,25 @@ case "$host_os" in
ELFLIB="lib$(THIS_LIB).dylib"
ELFLIB_MAJOR="lib$(THIS_LIB).$(ELF_MAJOR_VERSION).dylib"
ELFLIB_MAJOR_MINOR="lib$(THIS_LIB).$(ELF_MAJOR_VERSION).$(ELF_MINOR_VERSION).dylib"
+ ;;
+ *openbsd* )
+ DYNAMIC_LINK_FLAGS=""
+ ELF_CC="$CC"
+ case `arch -s` in
+ sparc64)
+ ELF_CFLAGS="$CFLAGS -fPIC"
+ ;;
+ *)
+ ELF_CFLAGS="$CFLAGS -fpic"
+ ;;
+ esac
+ ELF_LINK="$CC -shared $ELF_CFLAGS"
+ ELF_LINK_CMD="\$(ELF_LINK)"
+ ELF_DEP_LIBS="\$(DL_LIB) -lm -lcurses"
+ CC_SHARED="$CC -shared $ELF_CFLAGS"
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ DYNAMIC_LINK_FLAGS="-Wl,-E"
+ fi
;;
* )
echo "Note: ELF compiler for host_os=$host_os may be wrong"

View File

@ -1,38 +0,0 @@
--- autoconf/acsite.m4.orig Tue Feb 20 19:17:29 2001
+++ autoconf/acsite.m4 Tue Feb 12 16:09:10 2002
@@ -94,6 +94,9 @@ case "$host_os" in
RPATH="-rpath "
fi
;;
+ *openbsd*)
+ RPATH="-Wl,-R,"
+ ;;
esac
])
@@ -543,6 +546,25 @@ case "$host_os" in
CC_SHARED="cc \$(CFLAGS) -shared -K pic"
fi
;;
+ *openbsd* )
+ DYNAMIC_LINK_FLAGS=""
+ ELF_CC="$CC"
+ case `arch -s` in
+ sparc64)
+ ELF_CFLAGS="$CFLAGS -fPIC"
+ ;;
+ *)
+ ELF_CFLAGS="$CFLAGS -fpic"
+ ;;
+ esac
+ ELF_LINK="$CC -shared $ELF_CFLAGS"
+ ELF_LINK_CMD="\$(ELF_LINK)"
+ ELF_DEP_LIBS="\$(DL_LIB) -lm -lcurses"
+ CC_SHARED="$CC -shared $ELF_CFLAGS"
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ DYNAMIC_LINK_FLAGS="-Wl,-E"
+ fi
+ ;;
* )
echo "Note: ELF compiler for host_os=$host_os may be wrong"
ELF_CC="$CC"

View File

@ -1,6 +1,6 @@
--- autoconf/configure.in.orig Tue Feb 20 21:17:29 2001
+++ autoconf/configure.in Fri Dec 7 23:32:32 2001
@@ -106,7 +106,8 @@ slang_minor_version=`echo $slang_version
--- autoconf/configure.in.orig Sun Feb 10 02:39:19 2002
+++ autoconf/configure.in Tue May 7 19:57:00 2002
@@ -105,7 +105,8 @@ slang_minor_version=`echo $slang_version
slang_mminor_version=`echo $slang_version $slang_major_version $slang_minor_version |
awk '{ print ([$]1 - [$]2*10000 - [$]3*100) }'`

View File

@ -1,195 +1,204 @@
--- configure.orig Tue Feb 20 19:17:29 2001
+++ configure Tue Feb 12 16:06:58 2002
@@ -2017,6 +2017,25 @@ case "$host_os" in
CC_SHARED="cc \$(CFLAGS) -shared -K pic"
fi
$OpenBSD: patch-configure,v 1.10 2002/05/08 02:04:08 brad Exp $
--- configure.orig Sun Feb 10 02:39:19 2002
+++ configure Tue May 7 19:57:59 2002
@@ -577,7 +577,7 @@ fi
ac_aux_dir=
-for ac_dir in autoconf $srcdir/autoconf; do
+for ac_dir in ${GNUSYSTEM_AUX_DIR} autoconf $srcdir/autoconf; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -2032,6 +2032,25 @@ case "$host_os" in
ELFLIB_MAJOR="lib$(THIS_LIB).$(ELF_MAJOR_VERSION).dylib"
ELFLIB_MAJOR_MINOR="lib$(THIS_LIB).$(ELF_MAJOR_VERSION).$(ELF_MINOR_VERSION).dylib"
;;
+ *openbsd* )
+ DYNAMIC_LINK_FLAGS=""
+ ELF_CC="$CC"
+ case `arch -s` in
+ sparc64)
+ ELF_CFLAGS="$CFLAGS -fPIC"
+ DYNAMIC_LINK_FLAGS=""
+ ELF_CC="$CC"
+ case `arch -s` in
+ sparc64)
+ ELF_CFLAGS="$CFLAGS -fPIC"
+ ;;
+ *)
+ ELF_CFLAGS="$CFLAGS -fpic"
+ *)
+ ELF_CFLAGS="$CFLAGS -fpic"
+ ;;
+ esac
+ ELF_LINK="$CC -shared $ELF_CFLAGS"
+ ELF_LINK_CMD="\$(ELF_LINK)"
+ ELF_DEP_LIBS="\$(DL_LIB) -lm -lcurses"
+ CC_SHARED="$CC -shared $ELF_CFLAGS"
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ DYNAMIC_LINK_FLAGS="-Wl,-E"
+ fi
+ ;;
+ esac
+ ELF_LINK="$CC -shared $ELF_CFLAGS"
+ ELF_LINK_CMD="\$(ELF_LINK)"
+ ELF_DEP_LIBS="\$(DL_LIB) -lm -lcurses"
+ CC_SHARED="$CC -shared $ELF_CFLAGS"
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ DYNAMIC_LINK_FLAGS="-Wl,-E"
+ fi
+ ;;
* )
echo "Note: ELF compiler for host_os=$host_os may be wrong"
ELF_CC="$CC"
@@ -2087,6 +2106,9 @@ case "$host_os" in
RPATH="-rpath "
fi
;;
+ *openbsd*)
+ RPATH="-Wl,-R,"
+ ;;
esac
if test "X$RPATH" != "X"
@@ -2100,7 +2122,7 @@ fi
@@ -2078,7 +2097,7 @@ then
then
case "$host_os" in
- *linux*|*solaris* )
+ *linux*|*solaris*|*openbsd* )
if test "X$GCC" = Xyes
then
if test "X$ac_R_nospace" = "Xno"
@@ -2117,7 +2136,7 @@ fi
echo $ac_n "checking size of short""... $ac_c" 1>&6
-echo "configure:2104: checking size of short" >&5
+echo "configure:2119: checking size of short" >&5
-echo "configure:2121: checking size of short" >&5
+echo "configure:2140: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2108,7 +2130,7 @@ else
@@ -2125,7 +2144,7 @@ else
ac_cv_sizeof_short=2
else
cat > conftest.$ac_ext <<EOF
-#line 2112 "configure"
+#line 2127 "configure"
-#line 2129 "configure"
+#line 2148 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@@ -2119,7 +2141,7 @@ main()
@@ -2136,7 +2155,7 @@ main()
exit(0);
}
EOF
-if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-if { (eval echo configure:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_short=`cat conftestval`
else
@@ -2139,7 +2161,7 @@ EOF
@@ -2156,7 +2175,7 @@ EOF
echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:2143: checking size of int" >&5
+echo "configure:2158: checking size of int" >&5
-echo "configure:2160: checking size of int" >&5
+echo "configure:2179: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2147,7 +2169,7 @@ else
@@ -2164,7 +2183,7 @@ else
ac_cv_sizeof_int=4
else
cat > conftest.$ac_ext <<EOF
-#line 2151 "configure"
+#line 2166 "configure"
-#line 2168 "configure"
+#line 2187 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@@ -2158,7 +2180,7 @@ main()
@@ -2175,7 +2194,7 @@ main()
exit(0);
}
EOF
-if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
@@ -2178,7 +2200,7 @@ EOF
@@ -2195,7 +2214,7 @@ EOF
echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:2182: checking size of long" >&5
+echo "configure:2197: checking size of long" >&5
-echo "configure:2199: checking size of long" >&5
+echo "configure:2218: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2186,7 +2208,7 @@ else
@@ -2203,7 +2222,7 @@ else
ac_cv_sizeof_long=4
else
cat > conftest.$ac_ext <<EOF
-#line 2190 "configure"
+#line 2205 "configure"
-#line 2207 "configure"
+#line 2226 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@@ -2197,7 +2219,7 @@ main()
@@ -2214,7 +2233,7 @@ main()
exit(0);
}
EOF
-if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
@@ -2217,7 +2239,7 @@ EOF
@@ -2234,7 +2253,7 @@ EOF
echo $ac_n "checking size of float""... $ac_c" 1>&6
-echo "configure:2221: checking size of float" >&5
+echo "configure:2236: checking size of float" >&5
-echo "configure:2238: checking size of float" >&5
+echo "configure:2257: checking size of float" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2225,7 +2247,7 @@ else
@@ -2242,7 +2261,7 @@ else
ac_cv_sizeof_float=4
else
cat > conftest.$ac_ext <<EOF
-#line 2229 "configure"
+#line 2244 "configure"
-#line 2246 "configure"
+#line 2265 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@@ -2236,7 +2258,7 @@ main()
@@ -2253,7 +2272,7 @@ main()
exit(0);
}
EOF
-if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_float=`cat conftestval`
else
@@ -2256,7 +2278,7 @@ EOF
@@ -2273,7 +2292,7 @@ EOF
echo $ac_n "checking size of double""... $ac_c" 1>&6
-echo "configure:2260: checking size of double" >&5
+echo "configure:2275: checking size of double" >&5
-echo "configure:2277: checking size of double" >&5
+echo "configure:2296: checking size of double" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2264,7 +2286,7 @@ else
@@ -2281,7 +2300,7 @@ else
ac_cv_sizeof_double=8
else
cat > conftest.$ac_ext <<EOF
-#line 2268 "configure"
+#line 2283 "configure"
-#line 2285 "configure"
+#line 2304 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@@ -2275,7 +2297,7 @@ main()
@@ -2292,7 +2311,7 @@ main()
exit(0);
}
EOF
-if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_double=`cat conftestval`
else
@@ -2304,7 +2326,7 @@ JD_Terminfo_Dirs="/usr/lib/terminfo \
TERMCAP=-ltermcap
@@ -2314,7 +2333,7 @@ EOF
echo $ac_n "checking for Terminfo""... $ac_c" 1>&6
-echo "configure:2308: checking for Terminfo" >&5
+echo "configure:2323: checking for Terminfo" >&5
for terminfo_dir in $JD_Terminfo_Dirs
do
if test -d $terminfo_dir
@@ -2407,7 +2429,7 @@ PROGRAM_ELF_ORULES="$PROGRAM_ELF_ORULES
-echo "configure:2318: checking for Terminfo" >&5
+echo "configure:2337: checking for Terminfo" >&5
MISC_TERMINFO_DIRS="$FINKPREFIX/share/terminfo"
if test ! -d $MISC_TERMINFO_DIRS
then
@@ -2431,7 +2450,7 @@ PROGRAM_ELF_ORULES="$PROGRAM_ELF_ORULES
echo $ac_n "checking SLANG_VERSION""... $ac_c" 1>&6
-echo "configure:2411: checking SLANG_VERSION" >&5
+echo "configure:2426: checking SLANG_VERSION" >&5
-echo "configure:2435: checking SLANG_VERSION" >&5
+echo "configure:2454: checking SLANG_VERSION" >&5
slang_version=`grep "^#define *SLANG_VERSION " $srcdir/src/slang.h |
awk '{ print $3 }'`
slang_major_version=`echo $slang_version |
@@ -2417,7 +2439,8 @@ slang_minor_version=`echo $slang_version
@@ -2441,7 +2460,8 @@ slang_minor_version=`echo $slang_version
slang_mminor_version=`echo $slang_version $slang_major_version $slang_minor_version |
awk '{ print ($1 - $2*10000 - $3*100) }'`

View File

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Tue Feb 20 21:17:35 2001
+++ src/Makefile.in Fri Dec 7 23:32:33 2001
@@ -36,7 +36,7 @@ prefix = @prefix@
--- src/Makefile.in.orig Sun Feb 10 02:39:19 2002
+++ src/Makefile.in Tue May 7 19:57:00 2002
@@ -38,7 +38,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
install_lib_dir = @libdir@
install_include_dir = @includedir@

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.5 2001/02/21 20:44:43 brad Exp $
lib/libslang.so.14.4
@comment $OpenBSD: PFRAG.shared,v 1.6 2002/05/08 02:04:08 brad Exp $
lib/libslang.so.14.5
DYNLIBDIR(%B)