From owner-freebsd-amd64@FreeBSD.ORG Sat Nov 20 20:35:09 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CAD416A4CE for ; Sat, 20 Nov 2004 20:35:09 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B53843D39 for ; Sat, 20 Nov 2004 20:35:09 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 16C162A7EA for ; Sat, 20 Nov 2004 12:35:09 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 1D169E2B3 for ; Sat, 20 Nov 2004 12:35:08 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.1/8.13.1) with ESMTP id iAKKZ7Ah039272; Sat, 20 Nov 2004 12:35:07 -0800 (PST) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.1/8.13.1/Submit) id iAKKZ7JQ039271; Sat, 20 Nov 2004 12:35:07 -0800 (PST) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: Sean McNeil Date: Sat, 20 Nov 2004 12:35:06 -0800 User-Agent: KMail/1.7 References: <1100664110.333.1.camel@server.mcneil.com> <1100910334.42372.0.camel@server.mcneil.com> In-Reply-To: <1100910334.42372.0.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411201235.07080.peter@wemm.org> cc: freebsd-amd64@freebsd.org Subject: Re: WITH_LIB32 still doesn't work for me X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 20:35:09 -0000 On Friday 19 November 2004 04:25 pm, Sean McNeil wrote: > On Fri, 2004-11-19 at 22:08 +0000, Bjoern A. Zeeb wrote: > > On Fri, 19 Nov 2004, Bjoern A. Zeeb wrote: > > > it seems I have a patch for this now. > > > > ok, here[1] we go. This one did the trick for me. Please verify and > > if someone could test it with NO_KERBEROS= before comitting that > > would be good. > > Bingo! Thanks, this worked in my configuration. > > Cheers, > Sean I have a smaller version: Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.438.2.8 diff -u -r1.438.2.8 Makefile.inc1 --- Makefile.inc1 15 Nov 2004 06:01:11 -0000 1.438.2.8 +++ Makefile.inc1 20 Nov 2004 20:28:22 -0000 @@ -394,6 +394,12 @@ mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ -p ${LIB32TMP}/usr/include >/dev/null ln -sf ${.CURDIR}/sys ${WORLDTMP} +.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) +.for _t in obj depend all + cd ${.CURDIR}/kerberos5/tools; \ + MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t} +.endfor +.endif .for _t in obj includes cd ${.CURDIR}/include; \ ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} @@ -414,12 +420,6 @@ cd ${.CURDIR}/${_dir}; \ MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} build-tools .endfor -.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) -.for _t in obj depend all - cd ${.CURDIR}/kerberos5/tools; \ - MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t} -.endfor -.endif cd ${.CURDIR}; \ ${LIB32MAKE} -f Makefile.inc1 DESTDIR=${LIB32TMP} libraries .for _t in obj depend all I think this achieves the same effect, without duplicating the body of the for loops.. I'm going to test it shortly.. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5