mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 01:38:07 -04:00
databases/gdbm
This commit is contained in:
parent
74dc946d2f
commit
5426a335d8
@ -17,3 +17,9 @@ PATCHDIR= ${.CURDIR}/../../databases/gdbm/patches
|
|||||||
|
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
GNU_CONFIGURE= 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,3 +3,4 @@ $NetBSD: distinfo,v 1.8 2012/01/08 09:22:52 adam Exp $
|
|||||||
SHA1 (gdbm-1.10.tar.gz) = 441201e9145f590ba613f8a1e952455d620e0860
|
SHA1 (gdbm-1.10.tar.gz) = 441201e9145f590ba613f8a1e952455d620e0860
|
||||||
RMD160 (gdbm-1.10.tar.gz) = 32207388952acc2e9123fd1fd1f8880031cfb8d6
|
RMD160 (gdbm-1.10.tar.gz) = 32207388952acc2e9123fd1fd1f8880031cfb8d6
|
||||||
Size (gdbm-1.10.tar.gz) = 655599 bytes
|
Size (gdbm-1.10.tar.gz) = 655599 bytes
|
||||||
|
SHA1 (patch-configure) = 5924ad4d3f8c04ddb21c0cf4294c9714cc1c2c9f
|
||||||
|
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