Fix request for atlas-devel-3.6.0 on ia64, marked as broken

Hiroki Sato hrs at FreeBSD.org
Mon Jan 26 16:22:31 PST 2004


Nakata Maho <chat95 at mbox.kyoto-inet.or.jp> wrote
  in <20040126.231820.28780868.chat95 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040127/d6bbf126/attachment-0001.bin


More information about the freebsd-ports mailing list