From owner-freebsd-ports@FreeBSD.ORG Mon Jan 26 16:22:31 2004 Return-Path: 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 8D90416A4CE for ; Mon, 26 Jan 2004 16:22:31 -0800 (PST) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC20A43D5F for ; Mon, 26 Jan 2004 16:20:10 -0800 (PST) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p58149-adsao12honb4-acca.tokyo.ocn.ne.jp [220.96.140.149]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id C55318EA; Tue, 27 Jan 2004 09:18:22 +0900 (JST) Received: from localhost (alph.allbsd.org [192.168.0.10]) by delta.allbsd.org (8.12.9p2/8.12.9) with ESMTP id i0R0GLA2015557; Tue, 27 Jan 2004 09:16:22 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 27 Jan 2004 09:13:53 +0900 (JST) Message-Id: <20040127.091353.21844302.hrs@eos.ocn.ne.jp> To: chat95@mbox.kyoto-inet.or.jp From: Hiroki Sato In-Reply-To: <20040126.231820.28780868.chat95@mbox.kyoto-inet.or.jp> References: <20040124215811.GB9930@xor.obsecurity.org> <20040126.231820.28780868.chat95@mbox.kyoto-inet.or.jp> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 4.0.62 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Jan_27_09_13_53_2004_190)--" Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: Re: Fix request for atlas-devel-3.6.0 on ia64, marked as broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 00:22:31 -0000 ----Security_Multipart(Tue_Jan_27_09_13_53_2004_190)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nakata Maho wrote in <20040126.231820.28780868.chat95@mbox.kyoto-inet.or.jp>: chat95> Kris reported that math/atlas-devel is broken for ia64 (thank you chat95> very much for kris, for your hard work). chat95> chat95> I'm not currently interested in ia64 arch, so help is needed chat95> from ia64 peoples. Did you really look into the build log on bento? The error has occurred at the first configuration stage because files/answer file does not work for ia64. It can easily be fixed without knowledge of ia64 arch, and seems buildable at least once the stage is fixed (I tried the attached patch on pluto2). Since I have no ia64 box, I do not know if it actually works, though. -- | Hiroki SATO Index: atlas-devel/Makefile =================================================================== RCS file: /home/ncvs/ports/math/atlas-devel/Makefile,v retrieving revision 1.8 diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.8 Makefile --- atlas-devel/Makefile 26 Jan 2004 13:41:47 -0000 1.8 +++ atlas-devel/Makefile 26 Jan 2004 16:45:09 -0000 @@ -59,20 +59,27 @@ .endif .endif +ANSWER_i386?= ${PRINTF} "\n\n\n\n\n\n\n\n\n\n" +ANSWER_ia64?= ${PRINTF} "\n\n\n2\n\n\n\n\n\nf77\n-O2 -static\n\n" + +.if !defined(ANSWER_${ARCH}) +ANSWER= ${ANSWER_i386} +.else +ANSWER= ${ANSWER_${ARCH}} +.endif + do-configure: - @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} xconfig ; \ - ./xconfig -N 1 -c ${CC} -f ${FC} -a NON_THREADED < ${FILESDIR}/answer) - @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} xconfig ; \ - ./xconfig -N 1 -c ${CC} -f ${FC} -a NON_THREADED_PIC \ + @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} xconfig && \ + ${ANSWER} | ./xconfig -N 1 -c ${CC} -f ${FC} -a NON_THREADED && \ + ${ANSWER} | ./xconfig -N 1 -c ${CC} -f ${FC} -a NON_THREADED_PIC \ -F c '${PICFLAG} -DPIC' -F f '${PICFLAG} -DPIC' \ - -F m '${PICFLAG} -DPIC' -F x '${PICFLAG} -DPIC' < ${FILESDIR}/answer) - @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/thread-patch) - @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} xconfig ; \ - ./xconfig -c ${CC} -f ${FC} -a THREADED < ${FILESDIR}/answer) - @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} xconfig ; \ - ./xconfig -c ${CC} -f ${FC} -a THREADED_PIC \ + -F m '${PICFLAG} -DPIC' -F x '${PICFLAG} -DPIC') + @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/thread-patch && \ + ${MAKE_ENV} ${MAKE} xconfig && \ + ${ANSWER} | ./xconfig -c ${CC} -f ${FC} -a THREADED && \ + ${ANSWER} | ./xconfig -c ${CC} -f ${FC} -a THREADED_PIC \ -F c '${PICFLAG} -DPIC' -F f '${PICFLAG} -DPIC' \ - -F m '${PICFLAG} -DPIC' -F x '${PICFLAG} -DPIC' < ${FILESDIR}/answer) + -F m '${PICFLAG} -DPIC' -F x '${PICFLAG} -DPIC' ) ATLAS_LIBS1=libalapack libatlas libcblas libf77blas libtstatlas ATLAS_LIBS2=libptcblas libptf77blas ----Security_Multipart(Tue_Jan_27_09_13_53_2004_190)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAFa1CTyzT2CeTzy0RAsixAKChSbfJgpCV5KyEr/h3tzg9X4D5yACfWDdz EtRHh6I5x9dqebQvT76MnM0= =4AvN -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Jan_27_09_13_53_2004_190)----