mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
databases/gdbm
This commit is contained in:
parent
e8ddeef897
commit
6847ec2488
@ -17,3 +17,9 @@ PATCHDIR= ${.CURDIR}/../../databases/gdbm/patches
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||
CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=no
|
||||
.endif
|
||||
|
@ -3,6 +3,7 @@ $NetBSD: distinfo,v 1.9 2014/05/23 20:49:15 wiz Exp $
|
||||
SHA1 (gdbm-1.11.tar.gz) = ce433d0f192c21d41089458ca5c8294efe9806b4
|
||||
RMD160 (gdbm-1.11.tar.gz) = f3d38a31ed509fdbfe52674e55585c2e570938c5
|
||||
Size (gdbm-1.11.tar.gz) = 811662 bytes
|
||||
SHA1 (patch-configure) = 5924ad4d3f8c04ddb21c0cf4294c9714cc1c2c9f
|
||||
SHA1 (patch-src_gdbmtool.c) = 3f96f09d42dc4942b55da698d4853a3f175e6a44
|
||||
SHA1 (patch-src_gdbmtool.h) = 0301c08bbf66a3c4249bf32666f04a355803247b
|
||||
SHA1 (patch-tests_create00.at) = 2ce3d6ebac588b25699a6f38b298d4fb63965714
|
||||
|
59
databases/gdbm/patches/patch-configure
Normal file
59
databases/gdbm/patches/patch-configure
Normal file
@ -0,0 +1,59 @@
|
||||
$NetBSD$
|
||||
|
||||
--- configure.orig Sun Nov 13 09:41:39 2011
|
||||
+++ configure
|
||||
@@ -4874,7 +4874,7 @@ else
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
||||
+ minix* | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
||||
# This has been around since 386BSD, at least. Likely further.
|
||||
if test -x /sbin/sysctl; then
|
||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||
@@ -5282,7 +5282,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-netbsd*)
|
||||
+minix* | netbsd*)
|
||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
||||
else
|
||||
@@ -8498,7 +8498,7 @@ _LT_EOF
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||
wlarc=
|
||||
@@ -9137,7 +9137,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_i
|
||||
link_all_deplibs=yes
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||
else
|
||||
@@ -10131,6 +10131,18 @@ fi
|
||||
# people can always --disable-shared, the test was removed, and we
|
||||
# assume the GNU/Linux dynamic linker is in use.
|
||||
dynamic_linker='GNU/Linux ld.so'
|
||||
+ ;;
|
||||
+
|
||||
+minix*)
|
||||
+ version_type=sunos
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
||||
+ soname_spec='${libname}${release}${shared_ext}$major'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
netbsd*)
|
Loading…
x
Reference in New Issue
Block a user