From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 21 07:10:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F12816A418 for ; Fri, 21 Dec 2007 07:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43E1413C46E for ; Fri, 21 Dec 2007 07:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBL7A1YD008511 for ; Fri, 21 Dec 2007 07:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBL7A1i2008510; Fri, 21 Dec 2007 07:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 Dec 2007 07:10:01 GMT Resent-Message-Id: <200712210710.lBL7A1i2008510@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Motomichi Matsuzaki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EC4616A419 for ; Fri, 21 Dec 2007 07:00:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 02F0813C465 for ; Fri, 21 Dec 2007 07:00:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBL70COD094507 for ; Fri, 21 Dec 2007 07:00:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBL70CkN094506; Fri, 21 Dec 2007 07:00:12 GMT (envelope-from nobody) Message-Id: <200712210700.lBL70CkN094506@www.freebsd.org> Date: Fri, 21 Dec 2007 07:00:12 GMT From: Motomichi Matsuzaki To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/118922: biology/blat : fix build on other than i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 07:10:01 -0000 >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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 21 07:10:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Motomichi Matsuzaki >Release: 6.2-RELEASE-p8 >Organization: >Environment: FreeBSD amnesia 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 15:04:52 UTC 2007 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/SMP amd64 >Description: 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. >How-To-Repeat: >Fix: 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 WRKSRC= ${WRKDIR}/${PORTNAME}Src -MAKE_ENV+= HOME="${WRKSRC}/${BINDIR}" +MAKE_ENV+= HOME="${WRKSRC}/${BINDIR}" MACHTYPE="${ARCH}" SUB_FILES= pkg-message @@ -28,14 +28,14 @@ pslPretty pslReps pslSort twoBitInfo twoBitToFa post-patch: - @${MKDIR} ${WRKSRC}/bin/${MACHTYPE} - @${MKDIR} ${WRKSRC}/lib/${MACHTYPE} + @${MKDIR} ${WRKSRC}/bin/${ARCH} + @${MKDIR} ${WRKSRC}/lib/${ARCH} @${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g' \ ${WRKSRC}/inc/common.mk do-install: .for exe in ${EXECUTABLES} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${MACHTYPE}/${exe} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${ARCH}/${exe} ${PREFIX}/bin .endfor ${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 -.endif - -.if ${ARCH} != "i386" -BROKEN= Does not compile .endif .include >Release-Note: >Audit-Trail: >Unformatted: