Date: Sat, 12 Jun 2010 02:24:17 +0000 (UTC) From: "Helmut Schneider" <jumper99@gmx.de> To: freebsd-ports@freebsd.org Subject: Re: amavisd-new does not compile because of db42 Message-ID: <xn0gvadqh4m9syj003@news.gmane.org> References: <xn0gv8b8n2ri61n000@news.gmane.org> <xn0gv8ssj2y6ijg001@news.gmane.org> <4C1166C6.600@FreeBSD.org> <xn0gv8t9u2yvk8n002@news.gmane.org> <4C11E9EB.6080101@FreeBSD.org> <xn0gv99ud2vdc01000@news.gmane.org> <AANLkTik07PhAe2uojwOxvHscG31XVTxra4hM9sZB-xTa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scot Hetzel wrote: > The use as defined in bsd.port.mk for the IA32_BINARY_PORT variable is > incorrectly being used in the amavisd-new port: > > # IA32_BINARY_PORT > # - Set this instead of ONLY_FOR_ARCHS if the given port > # fetches and installs compiled i386 binaries. > > When this variable is set it changes how ldconfig searches for > libraries by setting the -32 to ldconfig. This prevents the port from > properly detecting any 64bit libraries and only looks for 32bit > libraries. The reason that only db42 is being affected is because > most of the ports dependancies are RUN_DEPENDS. > > The correct way to the amavisd-new port would be to change this: > > .if defined(WITH_RAR) > IA32_BINARY_PORT= yes > RUN_DEPENDS+= ${LOCALBASE}/bin/rar:${PORTSDIR}/archivers/rar > .endif > > To this: > > .if defined(WITH_RAR) > # support for archivers/rar is broken on ia64 > .if ${ARCH} =="i386" || ${ARCH} == "amd64" > RUN_DEPENDS+= ${LOCALBASE}/bin/rar:${PORTSDIR}/archivers/rar > .else > IGNORE= archviers/rar is a 32-bit binary port and is not compatible > with ${ARCH} .endif > .endif > > Note: This may need to be moved after the bsd.port.pre.mk. I put suggested changes before bsd.port.pre.mk and amavisd-new installs fine. Thanks, Helmut
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xn0gvadqh4m9syj003>