FreeBSD 3.x requires change in mpi/config.links

Jun Kuriyama kuriyama at sky.rim.or.jp
Mon Mar 8 23:32:46 CET 1999


Rich Wales wrote:
> --- mpi/config.links.orig       Mon Jan 11 00:55:21 1999
> +++ mpi/config.links    Sat Mar  6 13:52:54 1999
> @@ -170,11 +170,11 @@
> 
>  case "${target}" in
>      *-*-linuxaout* | *-*-linuxoldld* | *-*-linux-gnuoldld*)
>         needs_underscore="y"
>         ;;
> -    *-*-linux* | *-sysv* | *-solaris* | *-gnu* | *-freebsd*-elf)
> +    *-*-linux* | *-sysv* | *-solaris* | *-gnu* | *-freebsd*-elf | *-freebsd3*)
>         needs_underscore="n"
>         ;;
>      *)

This is not correct.  When someone upgrade to FreeBSD 3.0 from older
version, it may be i386-unknown-freebsd3.0-aout.  And gnupg 0.9.3 cannot
handle FreeBSD-current (i386-unknown-freebsd4.0).

I've updated my port.  Please cvsup and test it.

Werner, can you add my patch into next version of gnupg?


-- 
Jun Kuriyama // kuriyama at sky.rim.or.jp
            // kuriyama at FreeBSD.ORG
-------------- next part --------------
--- configure.in.orig	Sat Feb 20 02:06:42 1999
+++ configure.in	Mon Mar  8 00:13:53 1999
@@ -209,7 +209,7 @@
       DYNLINK_LDFLAGS="$CFLAGS_RDYNAMIC"
       dnl fixme: this is probably false but it should
       dnl work for freebsd
-      AC_DEFINE(DLSYM_NEEDS_UNDERSCORE)
+      dnl AC_DEFINE(DLSYM_NEEDS_UNDERSCORE)
       use_gnupg_extensions=yes
     else
       AC_CHECK_LIB(dld,dld_link)
-------------- next part --------------
--- mpi/config.links.orig	Mon Jan 11 17:55:21 1999
+++ mpi/config.links	Sun Mar  7 14:51:37 1999
@@ -12,12 +12,12 @@
 
 if test "$try_asm_modules" = "yes" ; then
 case "${target}" in
-    i[34]86*-*-freebsd*-elf | i[34]86*-*-freebsd3*)
+    i[34]86*-*-freebsd*-elf | i[34]86*-*-freebsd[34]*)
        echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
        cat  $srcdir/mpi/i386/syntax.h	   >>./mpi/asm-syntax.h
        path="i386"
        ;;
-    i[56]86*-*-freebsd*-elf | i[56]86*-*-freebsd3*)
+    i[56]86*-*-freebsd*-elf | i[56]86*-*-freebsd[34]*)
        echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
        cat  $srcdir/mpi/i386/syntax.h	   >>./mpi/asm-syntax.h
        path="i586 i386"
@@ -172,7 +172,7 @@
     *-*-linuxaout* | *-*-linuxoldld* | *-*-linux-gnuoldld*)
 	needs_underscore="y"
 	;;
-    *-*-linux* | *-sysv* | *-solaris* | *-gnu* | *-freebsd*-elf)
+    *-*-linux* | *-sysv* | *-solaris* | *-gnu* | *-freebsd*-elf | *-freebsd3.1 | *-freebsd4*)
 	needs_underscore="n"
 	;;
     *)


More information about the Gnupg-devel mailing list