From owner-freebsd-ports Tue Jan 26 16:39:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27129 for freebsd-ports-outgoing; Tue, 26 Jan 1999 16:39:20 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27124 for ; Tue, 26 Jan 1999 16:39:15 -0800 (PST) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.1/8.9.1) id BAA15804; Wed, 27 Jan 1999 01:39:05 +0100 (CET) (envelope-from ibex) Date: Wed, 27 Jan 1999 01:39:05 +0100 From: Dirk Froemberg To: Karl Pielorz Cc: ports@FreeBSD.ORG Subject: Re: FreeBSD Port: mysql-3.22.14g Message-ID: <19990127013905.B14341@physik.TU-Berlin.DE> References: <36AE4F91.3407D7B5@tdx.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=ZPt4rx8FFjLCG7dd X-Mailer: Mutt 0.95.1i In-Reply-To: <36AE4F91.3407D7B5@tdx.co.uk>; from Karl Pielorz on Tue, Jan 26, 1999 at 11:28:17PM +0000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --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