Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 09:13:53 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        chat95@mbox.kyoto-inet.or.jp
Cc:        ports@FreeBSD.org
Subject:   Re: Fix request for atlas-devel-3.6.0 on ia64, marked as broken
Message-ID:  <20040127.091353.21844302.hrs@eos.ocn.ne.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Jan_27_09_13_53_2004_190)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nakata Maho <chat95@mbox.kyoto-inet.or.jp> 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)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127.091353.21844302.hrs>