Reuse libs patches

This commit is contained in:
espie 2001-09-27 10:54:59 +00:00
parent 8de056dd0e
commit 5e3df07b5d
25 changed files with 22 additions and 448 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2001/09/19 15:20:11 espie Exp $
# $OpenBSD: Makefile,v 1.3 2001/09/27 10:54:59 espie Exp $
COMMENT= "X11 toolkit, additional artwork"
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.458
NEED_VERSION= 1.461
VERSION= 2.2.1
DISTNAME= kdeartwork-${VERSION}
DIST_SUBDIR= kde
@ -33,6 +33,8 @@ CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+= --without-motif
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
# Not yet, too much time to compile
#CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.26 2001/09/19 15:20:11 espie Exp $
# $OpenBSD: Makefile,v 1.27 2001/09/27 10:54:59 espie Exp $
COMMENT= "X11 toolkit, basic applications"
COMMENT-plugins= "X11 toolkit, netscape plugins"
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.458
NEED_VERSION= 1.461
VERSION= 2.2.1
DISTNAME= kdebase-${VERSION}
PKGNAME-plugins= kdebase-ns-${VERSION}
@ -44,6 +44,8 @@ CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+= --without-motif
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
# Not yet, too much time to compile
#CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-aclocal_m4,v 1.4 2001/09/19 14:13:28 espie Exp $
--- aclocal.m4.orig Sat Sep 8 02:34:47 2001
+++ aclocal.m4 Tue Sep 18 23:11:58 2001
@@ -4746,19 +4746,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-admin_libtool_m4_in,v 1.2 2001/08/20 23:42:08 espie Exp $
--- admin/libtool.m4.in.orig Tue Jul 31 21:01:19 2001
+++ admin/libtool.m4.in Fri Aug 17 02:09:15 2001
@@ -617,19 +617,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-admin_ltcf-c_sh,v 1.2 2001/08/20 23:42:08 espie Exp $
--- admin/ltcf-c.sh.orig Sat May 19 09:19:10 2001
+++ admin/ltcf-c.sh Fri Aug 17 02:09:15 2001
@@ -457,10 +457,14 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-admin_ltcf-cxx_sh,v 1.6 2001/08/20 23:42:08 espie Exp $
--- admin/ltcf-cxx.sh.orig Sat May 19 09:19:10 2001
+++ admin/ltcf-cxx.sh Fri Aug 17 02:09:15 2001
@@ -409,14 +409,14 @@ case $host_os in
openbsd*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
# MM: OpenBSD 2.7 uses G++, but not GNU ld
- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
- whole_archive_flag_spec='${wl}-Bforcearchive'
remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
fi
;;
osf3*)

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-admin_ltconfig,v 1.5 2001/08/20 23:42:08 espie Exp $
--- admin/ltconfig.orig Sat May 19 09:19:10 2001
+++ admin/ltconfig Mon Aug 20 18:56:38 2001
@@ -625,7 +625,12 @@ old_postuninstall_cmds=
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
# Source the script associated with the $tagname tag configuration.
@@ -1254,6 +1259,8 @@ openbsd*)
shlibpath_var=LD_LIBRARY_PATH
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
;;
os2*)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2001/09/19 15:20:12 espie Exp $
# $OpenBSD: Makefile,v 1.17 2001/09/27 10:54:59 espie Exp $
COMMENT= games for KDE
COMMENT-cards= faces for kde card games
@ -29,7 +29,7 @@ COMMENT-kwin4= 4 in a rows game for kde
COMMENT-lskat= card game for two players, based on Skat
CATEGORIES= x11 x11/kde games
NEED_VERSION= 1.458
NEED_VERSION= 1.461
VERSION= 2.2.1
DISTNAME= kdegames-${VERSION}
DIST_SUBDIR= kde
@ -52,6 +52,8 @@ CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --without-motif
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
.for i in kabalone kasteroids katomic kbackgammon kblackbox kfouleggs \
kjezz kjumpingcube kmahjongg kmines konquest kpat kpoker kreversi ksame \
kshisen ksirtet ksmiletris ksnake ksokoban kspaceduel ktron ktuberling \

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2001/04/23 21:19:30 espie Exp $
--- aclocal.m4.orig Sat Apr 21 18:03:55 2001
+++ aclocal.m4 Sat Apr 21 18:04:15 2001
@@ -4638,19 +4638,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-admin_libtool_m4_in,v 1.1 2001/04/23 21:19:30 espie Exp $
--- admin/libtool.m4.in.orig Sat Apr 21 18:03:05 2001
+++ admin/libtool.m4.in Sat Apr 21 18:03:42 2001
@@ -623,19 +623,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-admin_ltcf-c_sh,v 1.1 2001/04/23 21:19:30 espie Exp $
--- admin/ltcf-c.sh.orig Sat Apr 21 18:05:03 2001
+++ admin/ltcf-c.sh Sat Apr 21 18:06:45 2001
@@ -425,10 +425,14 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-admin_ltcf-cxx_sh,v 1.3 2001/04/23 21:19:30 espie Exp $
--- admin/ltcf-cxx.sh.orig Mon Feb 19 12:20:49 2001
+++ admin/ltcf-cxx.sh Sun Mar 11 15:42:15 2001
@@ -355,14 +355,14 @@ case "$host_os" in
openbsd*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
# MM: OpenBSD 2.7 uses G++, but not GNU ld
- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
- whole_archive_flag_spec='${wl}-Bforcearchive'
remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
fi
;;
osf3*)

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-admin_ltconfig,v 1.4 2001/08/20 23:44:17 espie Exp $
--- admin/ltconfig.orig Sat May 19 09:19:10 2001
+++ admin/ltconfig Mon Aug 20 18:56:38 2001
@@ -625,7 +625,12 @@ old_postuninstall_cmds=
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
# Source the script associated with the $tagname tag configuration.
@@ -1254,6 +1259,8 @@ openbsd*)
shlibpath_var=LD_LIBRARY_PATH
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
;;
os2*)

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2001/09/19 15:20:12 espie Exp $
# $OpenBSD: Makefile,v 1.11 2001/09/27 10:54:59 espie Exp $
COMMENT= "X11 toolkit, graphics applications"
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.458
NEED_VERSION= 1.461
VERSION= 2.2.1
DISTNAME= kdegraphics-${VERSION}
DIST_SUBDIR= kde
@ -26,6 +26,7 @@ CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
#CONFIGURE_ARGS+= --without-motif
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
# Not yet, too much time to compile
#CONFIGURE_ARGS+= --enable-static

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2001/04/22 16:33:16 espie Exp $
--- aclocal.m4.orig Sat Apr 21 18:03:55 2001
+++ aclocal.m4 Sat Apr 21 18:04:15 2001
@@ -4638,19 +4638,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-admin_libtool_m4_in,v 1.1 2001/04/22 16:33:16 espie Exp $
--- admin/libtool.m4.in.orig Sat Apr 21 18:03:05 2001
+++ admin/libtool.m4.in Sat Apr 21 18:03:42 2001
@@ -623,19 +623,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-admin_ltcf-c_sh,v 1.1 2001/04/22 16:33:16 espie Exp $
--- admin/ltcf-c.sh.orig Sat Apr 21 18:05:03 2001
+++ admin/ltcf-c.sh Sat Apr 21 18:06:45 2001
@@ -425,10 +425,14 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-admin_ltcf-cxx_sh,v 1.2 2001/04/22 16:33:16 espie Exp $
--- admin/ltcf-cxx.sh.orig Mon Feb 19 12:20:49 2001
+++ admin/ltcf-cxx.sh Sun Mar 11 15:42:15 2001
@@ -355,14 +355,14 @@ case "$host_os" in
openbsd*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
# MM: OpenBSD 2.7 uses G++, but not GNU ld
- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
- whole_archive_flag_spec='${wl}-Bforcearchive'
remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
fi
;;
osf3*)

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-admin_ltconfig,v 1.3 2001/08/21 16:33:18 espie Exp $
--- admin/ltconfig.orig Sat May 19 09:19:10 2001
+++ admin/ltconfig Mon Aug 20 18:56:38 2001
@@ -625,7 +625,12 @@ old_postuninstall_cmds=
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
# Source the script associated with the $tagname tag configuration.
@@ -1254,6 +1259,8 @@ openbsd*)
shlibpath_var=LD_LIBRARY_PATH
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
;;
os2*)

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.6 2001/09/19 15:20:12 espie Exp $
# $OpenBSD: Makefile,v 1.7 2001/09/27 10:55:00 espie Exp $
V=0.5.1
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.458
NEED_VERSION= 1.461
COMMENT= "KDE style engine"
HOMEPAGE= http://www.mosfet.org/liquid.html
MASTER_SITES= http://www.mosfet.org/
@ -34,6 +34,8 @@ CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --disable-threading
CONFIGURE_ARGS+= --enable-mitshm
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
CONFIGURE_ENV= UIC_NOT_NEEDED=true
CONFIGURE_ENV+= ac_aux_files=''
MAKE_ENV= ${CONFIGURE_ENV}

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-admin_libtool_m4_in,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $
--- admin/libtool.m4.in.orig Fri Jun 15 05:54:12 2001
+++ admin/libtool.m4.in Tue Aug 21 17:38:04 2001
@@ -617,19 +617,7 @@ netbsd*)
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
newsos6)

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-admin_ltcf-c_sh,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $
--- admin/ltcf-c.sh.orig Fri Jun 15 05:54:12 2001
+++ admin/ltcf-c.sh Tue Aug 21 17:38:21 2001
@@ -457,10 +457,14 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-admin_ltcf-cxx_sh,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $
--- admin/ltcf-cxx.sh.orig Fri Jun 15 05:54:12 2001
+++ admin/ltcf-cxx.sh Tue Aug 21 17:38:24 2001
@@ -409,14 +409,14 @@ case $host_os in
openbsd*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
# MM: OpenBSD 2.7 uses G++, but not GNU ld
- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
- whole_archive_flag_spec='${wl}-Bforcearchive'
remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
fi
;;
osf3*)

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-admin_ltconfig,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $
--- admin/ltconfig.orig Fri Jun 15 05:54:12 2001
+++ admin/ltconfig Tue Aug 21 17:38:32 2001
@@ -625,7 +625,12 @@ old_postuninstall_cmds=
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
# Source the script associated with the $tagname tag configuration.
@@ -1254,6 +1259,8 @@ openbsd*)
shlibpath_var=LD_LIBRARY_PATH
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
;;
os2*)

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2001/09/19 15:20:12 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/09/27 10:55:00 espie Exp $
COMMENT= "some useless kde applications"
CATEGORIES= x11 x11/kde games
NEED_VERSION= 1.458
NEED_VERSION= 1.461
VERSION= 2.2.1
DISTNAME= kdetoys-${VERSION}
DIST_SUBDIR= kde
@ -22,6 +22,7 @@ CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
# Not yet, too much time to compile
#CONFIGURE_ARGS+= --enable-static