ports/118922: biology/blat : fix build on other than i386

Motomichi Matsuzaki mzaki at biol.s.u-tokyo.ac.jp
Fri Dec 21 07:10:01 UTC 2007

>Number:         118922
>Category:       ports
>Synopsis:       biology/blat : fix build on other than i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 07:10:00 UTC 2007
>Originator:     Motomichi Matsuzaki
>Release:        6.2-RELEASE-p8
FreeBSD amnesia 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 15:04:52 UTC 2007     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  amd64
The port biology/blat has marked as BROKEN on platforms other than i386.
The reason is the makefiles depends on an environmental variable MACHTYPE,
which is not defined in amd64 but in i386.



Patch attached with submission follows:

diff -ruN blat.orig/Makefile blat/Makefile
--- blat.orig/Makefile	Wed Dec  5 08:08:55 2007
+++ blat/Makefile	Fri Dec 21 15:31:58 2007
@@ -20,7 +20,7 @@
 USE_GCC=	3.4+
 MAKEFILE=	makefile
 SUB_FILES=	pkg-message
@@ -28,14 +28,14 @@
 		pslPretty pslReps pslSort twoBitInfo twoBitToFa
+	@${MKDIR} ${WRKSRC}/bin/${ARCH}
+	@${MKDIR} ${WRKSRC}/lib/${ARCH}
 	@${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g' \
 .for exe in ${EXECUTABLES}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${ARCH}/${exe} ${PREFIX}/bin
 	${MKDIR} ${DATADIR}/webBlat
 	${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${DATADIR}/webBlat
@@ -52,10 +52,6 @@
 .if ${OSVERSION} >= 700042
 BROKEN=		Does not compile with GCC 4.2
-.if ${ARCH} != "i386"
-BROKEN=		Does not compile
 .include <bsd.port.post.mk>


More information about the freebsd-ports-bugs mailing list