- bump NEED_VERSION

- rename checksums file
- sync libtool patch
This commit is contained in:
brad 2002-01-24 04:24:09 +00:00
parent 02c39ddef6
commit a8eb85226d
3 changed files with 34 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.22 2001/04/13 23:50:40 brad Exp $
# $OpenBSD: Makefile,v 1.23 2002/01/24 04:24:09 brad Exp $
COMMENT= "IJG's JPEG compression utilities"
DISTNAME= jpegsrc.v6b
PKGNAME= jpeg-6b
CATEGORIES= graphics
NEED_VERSION= 1.384
NEED_VERSION= 1.500
MASTER_SITES= ftp://ftp.uu.net/graphics/jpeg/ \
ftp://ftp.shellhung.org/pub/Mirror/enlightenment/enlightenment/libs/

View File

@ -1,7 +1,23 @@
$OpenBSD: patch-ltconfig,v 1.3 2001/02/20 22:21:09 danh Exp $
$OpenBSD: patch-ltconfig,v 1.4 2002/01/24 04:24:09 brad Exp $
--- ltconfig.orig Wed Mar 25 10:25:39 1998
+++ ltconfig Tue Feb 20 17:18:57 2001
@@ -706,6 +706,10 @@ amigaos* | sunos4*)
+++ ltconfig Wed Jan 23 20:19:34 2002
@@ -348,7 +348,14 @@ fi
if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds;\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib;$old_postinstall_cmds"
+ case "$host_os" in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib;$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib;$old_postinstall_cmds"
+ ;;
+ esac
fi
# Check to see if we are using GCC.
@@ -706,6 +713,10 @@ amigaos* | sunos4*)
# On these operating systems, we should treat GNU ld like the system ld.
gnu_ld_acts_native=yes
;;
@ -12,7 +28,7 @@ $OpenBSD: patch-ltconfig,v 1.3 2001/02/20 22:21:09 danh Exp $
*)
gnu_ld_acts_native=no
;;
@@ -815,10 +819,21 @@ else
@@ -815,10 +826,24 @@ else
;;
openbsd*)
@ -20,23 +36,26 @@ $OpenBSD: patch-ltconfig,v 1.3 2001/02/20 22:21:09 danh Exp $
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib$libobjs'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib$libobjs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib$libobjs'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
+ export_dynamic_flag_spec='${wl}-E'
+ fi
+ ;;
+ esac
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
+ ;;
+ esac
+ fi
;;
os2*)
@@ -1179,11 +1194,19 @@ linux-gnu*)
@@ -1179,11 +1204,19 @@ linux-gnu*)
fi
;;