From owner-svn-ports-head@FreeBSD.ORG Thu Mar 26 13:12:40 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C0949A4; Thu, 26 Mar 2015 13:12:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1B9A601; Thu, 26 Mar 2015 13:12:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2QDCdGY065269; Thu, 26 Mar 2015 13:12:39 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2QDCdKL065268; Thu, 26 Mar 2015 13:12:39 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201503261312.t2QDCdKL065268@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 26 Mar 2015 13:12:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382304 - head/chinese/libtabe/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 13:12:40 -0000 Author: marino Date: Thu Mar 26 13:12:38 2015 New Revision: 382304 URL: https://svnweb.freebsd.org/changeset/ports/382304 QAT: https://qat.redports.org/buildarchive/r382304/ Log: chinese/libtabe: Add DragonFly support Bring in fix from dports (port is not maintained) Modified: head/chinese/libtabe/files/patch-configure Modified: head/chinese/libtabe/files/patch-configure ============================================================================== --- head/chinese/libtabe/files/patch-configure Thu Mar 26 13:07:18 2015 (r382303) +++ head/chinese/libtabe/files/patch-configure Thu Mar 26 13:12:38 2015 (r382304) @@ -1,6 +1,112 @@ ---- configure.orig Mon Sep 20 01:16:48 2004 -+++ configure Sat Apr 22 01:18:43 2006 -@@ -18984,6 +18984,10 @@ +--- configure.orig 2004-09-20 06:16:48 UTC ++++ configure +@@ -3022,13 +3022,13 @@ darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd* | kfreebsd*-gnu) ++dragonfly* | freebsd* | kfreebsd*-gnu) + 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|DragonFly|OpenBSD)/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.*` + ;; +@@ -6599,7 +6599,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -7177,7 +7177,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -9557,7 +9557,7 @@ if test -z "$aix_libpath"; then aix_libp + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -10264,7 +10264,7 @@ echo $ECHO_N "checking for $compiler opt + ;; + esac + ;; +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) +@@ -10875,7 +10875,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -13446,7 +13446,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -14024,7 +14024,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -15793,7 +15793,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes +@@ -16371,7 +16371,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -18854,7 +18854,7 @@ cat >>confdefs.h <<\_ACEOF + _ACEOF + + ;; +- freebsd*) ++ dragonfly*|freebsd*) + + cat >>confdefs.h <<\_ACEOF + #define FREEBSD 1 +@@ -18984,6 +18984,10 @@ if eval "test \"\${$as_ac_Lib+set}\" = s else ac_check_lib_save_LIBS=$LIBS LIBS="-l$dbname $LIBS" @@ -11,7 +117,7 @@ cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -18997,11 +19001,11 @@ +@@ -18997,11 +19001,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ @@ -25,7 +131,7 @@ ; return 0; } -@@ -19253,7 +19257,9 @@ +@@ -19253,7 +19257,9 @@ errno = db_open("foo.db", DB_BTREE, DB_C #endif if(errno) return errno; @@ -36,7 +142,7 @@ errno = dbp->stat(dbp, &sp, 0); #else errno = dbp->stat(dbp, &sp, NULL, 0); -@@ -20833,6 +20839,7 @@ +@@ -20833,6 +20839,7 @@ s,@INSTALL@,$INSTALL,;t t s,@with_db_inc@,$with_db_inc,;t t s,@with_db_lib@,$with_db_lib,;t t s,@with_db_bin@,$with_db_bin,;t t