diff options
author | reed <reed> | 2005-08-19 19:46:24 +0000 |
---|---|---|
committer | reed <reed> | 2005-08-19 19:46:24 +0000 |
commit | 16be520e8a9a5c045de723e2056658bca9dc8d63 (patch) | |
tree | 75ce75b69d06ebb69f8a2fbb1eccf109107c3fb8 | |
parent | b99928fdbc9a42469c377a8a2847c9963522e04d (diff) | |
download | pkgsrc-16be520e8a9a5c045de723e2056658bca9dc8d63.tar.gz |
This adds DragonFly support. (Before shared libraries were not built.)
This is from Joerg Sonnenberger's diff.
I do not know if this support has been submitted to Sleepycat
for dist/configure* yet.
-rw-r--r-- | databases/db4/distinfo | 4 | ||||
-rw-r--r-- | databases/db4/patches/patch-ab | 99 |
2 files changed, 100 insertions, 3 deletions
diff --git a/databases/db4/distinfo b/databases/db4/distinfo index 6fb182ffdca..2b0b68385db 100644 --- a/databases/db4/distinfo +++ b/databases/db4/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.16 2005/05/10 16:24:48 drochner Exp $ +$NetBSD: distinfo,v 1.17 2005/08/19 19:46:24 reed Exp $ SHA1 (db-4.3.28.tar.gz) = a59eece10a907977a0578a58218c75cac7c3bdf7 RMD160 (db-4.3.28.tar.gz) = c4853e6004787d3d664da7bb5acc17d7d1875c58 Size (db-4.3.28.tar.gz) = 5995854 bytes SHA1 (patch-aa) = ea0c124c6d18db88ccd0d92b7c14b7e859213444 -SHA1 (patch-ab) = ab6b8c819cf21407dfe136bb75cd4e2f82be9afc +SHA1 (patch-ab) = 9e742365c9d1f812f8f170333abc5b532cbf1348 SHA1 (patch-ac) = ec623253fdee19b81a8a1cd3a58fc76f1d2e343f SHA1 (patch-ad) = 6fc146cc50aa8f74830639af95b4e0cd1ddb1949 diff --git a/databases/db4/patches/patch-ab b/databases/db4/patches/patch-ab index 93d8803abe5..583a5f1b88f 100644 --- a/databases/db4/patches/patch-ab +++ b/databases/db4/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.9 2005/01/05 08:06:42 martti Exp $ +$NetBSD: patch-ab,v 1.10 2005/08/19 19:46:24 reed Exp $ --- dist/configure.orig 2004-12-23 04:59:13.000000000 +0200 +++ dist/configure 2005-01-05 09:40:13.000000000 +0200 @@ -6,11 +6,108 @@ $NetBSD: patch-ab,v 1.9 2005/01/05 08:06:42 martti Exp $ case ${GXX_VERSION} in + egcs*) CXXFLAGS="-fexceptions $CXXFLAGS";; 1.*|2.[01234567].*|*-1.*|*-2.[01234567].*) +@@ -5832,13 +5832,13 @@ darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd* | kfreebsd*-gnu) ++freebsd* | kfreebsd*-gnu | dragonfly*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. +- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' ++ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; +@@ -7075,7 +7075,7 @@ else + lt_cv_sys_max_cmd_len=8192; + ;; + +- netbsd* | freebsd* | openbsd* | darwin* ) ++ 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` +@@ -8851,7 +8851,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ freebsd* | kfreebsd*-gnu | dragonfly*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -9430,7 +9430,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -11785,7 +11785,7 @@ if test -z "$aix_libpath"; then aix_libp + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd* | kfreebsd*-gnu) ++ freebsd* | kfreebsd*-gnu | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -13142,7 +13142,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -15723,7 +15723,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ freebsd* | kfreebsd*-gnu | dragonfly*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -16302,7 +16302,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -18664,7 +18664,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in @@ -20868,3 +20869,3 @@ MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}" -MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version" +MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}" MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}" +@@ -21615,7 +21615,7 @@ if test "$_JTOPDIR" != "/usr"; then + case "$host_os" in + aix*) _JNI_INC_SUBDIRS="aix";; + bsdi*) _JNI_INC_SUBDIRS="bsdos";; +- freebsd*) _JNI_INC_SUBDIRS="freebsd";; ++ freebsd*|dragonfly*) _JNI_INC_SUBDIRS="freebsd";; + hp*) _JNI_INC_SUBDIRS="hp-ux";; + linux*) _JNI_INC_SUBDIRS="linux genunix";; + osf*) _JNI_INC_SUBDIRS="alpha";; @@ -30027,3 +30028,3 @@ # full interface, try and configure for just intra-process support. -if test "$db_cv_mutex" = no -o "$db_cv_mutex" = "posix_only"; then |