Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 01:39:05 +0100
From:      Dirk Froemberg <dirk@FreeBSD.ORG>
To:        Karl Pielorz <kpielorz@tdx.co.uk>
Cc:        ports@FreeBSD.ORG
Subject:   Re: FreeBSD Port: mysql-3.22.14g
Message-ID:  <19990127013905.B14341@physik.TU-Berlin.DE>
In-Reply-To: <36AE4F91.3407D7B5@tdx.co.uk>; from Karl Pielorz on Tue, Jan 26, 1999 at 11:28:17PM %2B0000
References:  <36AE4F91.3407D7B5@tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii

Hi Karl!

On Tue, Jan 26, 1999 at 11:28:17PM +0000, Karl Pielorz wrote:
> I get the following error(s) when compiling the mysql-3.22.14g port:
> [...]
> This is with FreeBSD 4.0 - with the ports cvsup'd at ~18:00, 26/Jan/1999
> 
> Is this something that's fixed 'allready'?

Please try to replace patch-ac and patch-ak in patches/ with the
ones attached below.  If this doesn't work, please send the output
of a "make clean install >& mk.out1" to me (and only to me and not
to the list ;-)

	Regards Dirk

-- 
e-mail: dirk@FreeBSD.ORG

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ac

--- mit-pthreads/config/configure.orig	Tue Mar 10 10:11:25 1998
+++ mit-pthreads/config/configure	Wed Jan 27 01:30:22 1999
@@ -1280,7 +1280,7 @@
     m68*-*-netbsd*)
 	name=m68000-netbsd
 	;;
-    i386-*-freebsd2.*)
+    i386-*-freebsd2.* | i386-*-freebsd3.* | i386-*-freebsd4.*)
         name=i386-freebsd-2.0
         sysincludes=freebsd-2.0
         except="fork lseek ftruncate sigsuspend sigprocmask"

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ak

--- ltmain.sh.orig	Wed Sep 23 23:37:14 1998
+++ ltmain.sh	Wed Sep 23 23:38:02 1998
@@ -967,6 +967,16 @@
         versuffix="$current.$revision"
         ;;
 
+      freebsd)
+        version_vars="$version_vars major versuffix"
+        major="$current"
+	if [ $PORTOBJFORMAT = elf ]; then
+        versuffix="$current";
+	else
+        versuffix="$current.$revision";
+	fi
+        ;;
+
       *)
         $echo "$modename: unknown library version type \`$version_type'" 1>&2
         echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
--- ltconfig.orig	Wed Sep 23 23:37:18 1998
+++ ltconfig	Wed Sep 23 23:39:06 1998
@@ -1123,10 +1123,21 @@
   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
   ;;
 
-freebsd2* | freebsd3*)
+freebsd2*)
   version_type=sunos
   library_names_spec='${libname}${release}.so.$versuffix $libname.so'
   finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
+  shlibpath_var=LD_LIBRARY_PATH
+  ;;
+
+freebsd3* | freebsd4*)
+  version_type=freebsd
+  library_names_spec='${libname}${release}.so.$versuffix $libname.so'
+  if [ $PORTOBJFORMAT = elf ]; then
+  finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
+  else
+  finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
+  fi
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 

--ZPt4rx8FFjLCG7dd--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990127013905.B14341>