From 5f2b0bacf1e5b055c1130934bf1b2f6d5bc72274 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 4 Jan 2008 15:14:52 +0000 Subject: [PATCH] Fix build on !i386 PR: 118922 Submitted by: Motomichi Matsuzaki Approved by: Fernan Aguero --- biology/blat/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/biology/blat/Makefile b/biology/blat/Makefile index 2491bfa369c7..a2c5e8ee7b17 100644 --- a/biology/blat/Makefile +++ b/biology/blat/Makefile @@ -20,7 +20,7 @@ USE_GMAKE= yes 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 @@ EXECUTABLES= blat faToNib faToTwoBit gfClient gfServer nibFrag \ pslPretty pslReps pslSort twoBitInfo twoBitToFa post-patch: - @${MKDIR} ${WRKSRC}/bin/${MACHTYPE} - @${MKDIR} ${WRKSRC}/lib/${MACHTYPE} - @${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g' \ + @${MKDIR} ${WRKSRC}/bin/${ARCH} + @${MKDIR} ${WRKSRC}/lib/${ARCH} + @${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g;s,-Werror,,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 @@ -54,8 +54,4 @@ post-install: BROKEN= Does not compile with GCC 4.2 .endif -.if ${ARCH} != "i386" -BROKEN= Does not compile -.endif - .include