From owner-freebsd-ports@FreeBSD.ORG Sat Jul 15 13:28:02 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 442C516A4DA for ; Sat, 15 Jul 2006 13:28:02 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id A692E43D45 for ; Sat, 15 Jul 2006 13:28:01 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so219750uge for ; Sat, 15 Jul 2006 06:28:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pz/3W5nmU2KDQGNE12Y8dvn2d81Kd0QpWqgDs3Pk2n0fqiFvvr2Uon8jIANfDELYxVfjbSeGOwCeanK62qGX5dKXPKCtVP/QTyJPRV6yl+1Iwvlm4p3AeP0/N1x2mrU23JI5bXBjM3+8GW8ISuBuv6yJQYKgjVRuIgg2cyF471o= Received: by 10.78.165.16 with SMTP id n16mr173261hue; Sat, 15 Jul 2006 06:28:00 -0700 (PDT) Received: by 10.78.83.17 with HTTP; Sat, 15 Jul 2006 06:28:00 -0700 (PDT) Message-ID: <790a9fff0607150628p137e1263h8421b91d7187289a@mail.gmail.com> Date: Sat, 15 Jul 2006 08:28:00 -0500 From: "Scot Hetzel" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Setting LDCONFIG for ports that need 32bit libraries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2006 13:28:02 -0000 I had recently updated my www/frontpage and sent a patch for security/vscan port to work on FreeBSD/amd64. I had to set LDCONFIG to /sbin/ldconfig -32, in order for it to find the dependancy on the 32bit libraries. I initialily was thinking that USE_LDCONFIG32 should set LDCONFIG, but this was wrong, as this only affects ports that install 32bit libraries. We need a new variable (USE_LIB32?) that can be used by ports that require 32bit libraries. The only thing I didn't check is how pkg_add will work when installing these ports as packages. Will it detect that the 32bit libraries are installed? Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.