Date: Fri, 31 Mar 2000 14:12:41 -0800 From: Jeremy Lea <reg@FreeBSD.ORG> To: Nick Sayer <nsayer@quack.kfu.com> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Tricky porting -- libmcrypt Message-ID: <20000331141241.F87289@shale.csir.co.za> In-Reply-To: <200003311647.IAA39756@medusa.kfu.com>; from nsayer@quack.kfu.com on Fri, Mar 31, 2000 at 08:47:10AM -0800 References: <200003311647.IAA39756@medusa.kfu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> --- /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 <bsd.port.mk> --- /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000331141241.F87289>