From owner-freebsd-ports Fri Mar 31 14:13:54 2000 Delivered-To: freebsd-ports@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 50BDC37BD9D for ; Fri, 31 Mar 2000 14:13:48 -0800 (PST) (envelope-from reg@shale.csir.co.za) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id AAA03602; Sat, 1 Apr 2000 00:13:44 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.9.3/8.9.3) id OAA08056; Fri, 31 Mar 2000 14:12:41 -0800 (PST) (envelope-from reg) Date: Fri, 31 Mar 2000 14:12:41 -0800 From: Jeremy Lea To: Nick Sayer Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Tricky porting -- libmcrypt Message-ID: <20000331141241.F87289@shale.csir.co.za> References: <200003311647.IAA39756@medusa.kfu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003311647.IAA39756@medusa.kfu.com>; from nsayer@quack.kfu.com on Fri, Mar 31, 2000 at 08:47:10AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Fri, Mar 31, 2000 at 08:47:10AM -0800, Nick Sayer wrote: > First, for some bizarre reason libltdl/Makefile defines INSTALL as ../ > which breaks 'make install'. None of the other Makefiles seem to suffer > this disease, and I'm at a loss to find out what happened. This is a bug in GNU autoconf. See the patches for configure in most of the GNOME ports, and also in devel/libtool. I submitted this to the autoconf maintainers but got no response. > Looking at the source, it does sort of appear that something like > either libltdl or a bunch of #defines would be neccessary for > libmcrypt to work, but it appears that libltdl is part of libtool, maybe? > Should I install this library or not? Should I have some sort of > LIBDEPEND for it? Does any other port use it? I've not being installing this as part of libtool (which will be upgraded to 1.3.4 soon). I can if you want. It's a pretty simple thing to do, but then you'd have to patch mcrypt to use the version in /usr/local/lib, not it's own version. Attached are patches to make the current mcrypt and mhash ports USE_LIBTOOL. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ security/libmcrypt: Maintainer: nsayer@freebsd.org Changes: Makefile pkg/PLIST Adds : Removes: --- /usr/ports.ref/security/libmcrypt/Makefile Fri Jan 7 20:34:19 2000 +++ security/libmcrypt/Makefile Fri Jan 7 20:57:08 2000 @@ -13,14 +13,11 @@ MAINTAINER= nsayer@freebsd.org -GNU_CONFIGURE= yes +USE_LIBTOOL= yes CONFIGURE_ARGS= --disable-posix-threads MAN3= mcrypt.3 RESTRICTED= "yes - cryptography" - -post-install: - @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include --- /usr/ports.ref/security/libmcrypt/pkg/PLIST Fri Jan 7 20:34:19 2000 +++ security/libmcrypt/pkg/PLIST Fri Jan 7 21:36:00 2000 @@ -1,8 +1,6 @@ +include/mcrypt.h lib/libmcrypt.a -lib/libmcrypt.la -lib/libmcrypt-2.2.so.2 -lib/libmcrypt-2.2.so lib/libmcrypt.so -include/mcrypt.h +lib/libmcrypt.so.2 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B security/mhash: Maintainer: nsayer@freebsd.org Changes: Makefile pkg/PLIST Adds : Removes: --- /usr/ports.ref/security/mhash/Makefile Sat Jan 15 01:50:19 2000 +++ security/mhash/Makefile Sat Jan 15 04:09:13 2000 @@ -12,12 +12,9 @@ MAINTAINER= nsayer@freebsd.org -GNU_CONFIGURE= yes +USE_LIBTOOL= yes CONFIGURE_ARGS+= --with-LDFLAGS='-lc_r' MAN3= mhash.3 - -post-install: - @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include --- /usr/ports.ref/security/mhash/pkg/PLIST Mon Jun 28 18:00:57 1999 +++ security/mhash/pkg/PLIST Thu Jul 15 15:09:01 1999 @@ -1,7 +1,6 @@ -lib/libmhash.la -lib/libmhash.so.1 -lib/libmhash.so -lib/libmhash.a include/mhash.h +lib/libmhash.a +lib/libmhash.so +lib/libmhash.so.1 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message