From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 19 22:10: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 08C3416A4CE for ; Fri, 19 Nov 2004 22:10:09 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B45F43D39 for ; Fri, 19 Nov 2004 22:10:08 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 8B23A1FF9AC; Fri, 19 Nov 2004 23:10:07 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 9E8D31FFACA; Fri, 19 Nov 2004 23:10:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9D4971539F; Fri, 19 Nov 2004 22:08:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 925FA1538C; Fri, 19 Nov 2004 22:08:23 +0000 (UTC) Date: Fri, 19 Nov 2004 22:08:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Peter Wemm In-Reply-To: Message-ID: References: <1100664110.333.1.camel@server.mcneil.com> <1100824228.92837.2.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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: Fri, 19 Nov 2004 22:10:09 -0000 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. I have left the .for-loops though not needed. Seemed better than substituting _t for all those and lose the "embracement" for these stages. Seems to be done that way at least in one more place in that file. [1] http://sources.zabbadoz.net/freebsd/patchset/amd64-lib32-buildorder.diff ! ! use correct build order: ! ...obj -> build-tools -> includes -> libraries... ! Index: Makefile.inc1 =================================================================== RCS file: /local/mirror/FreeBSD/r/ncvs/src/Makefile.inc1,v retrieving revision 1.456 diff -u -p -r1.456 Makefile.inc1 --- Makefile.inc1 15 Nov 2004 05:59:10 -0000 1.456 +++ Makefile.inc1 19 Nov 2004 19:33:42 -0000 @@ -393,7 +393,7 @@ build32: mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ -p ${LIB32TMP}/usr/include >/dev/null ln -sf ${.CURDIR}/sys ${WORLDTMP} -.for _t in obj includes +.for _t in obj cd ${.CURDIR}/include; \ ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} cd ${.CURDIR}/lib; \ @@ -419,6 +419,22 @@ build32: MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t} .endfor .endif +.for _t in includes + cd ${.CURDIR}/include; \ + ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} + cd ${.CURDIR}/lib; \ + ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} + cd ${.CURDIR}/gnu/lib; \ + ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} +.if !defined(NOCRYPT) + cd ${.CURDIR}/secure/lib; \ + ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} +.endif +.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) + cd ${.CURDIR}/kerberos5/lib; \ + ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} +.endif +.endfor cd ${.CURDIR}; \ ${LIB32MAKE} -f Makefile.inc1 DESTDIR=${LIB32TMP} libraries .for _t in obj depend all -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT