aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2008-01-04 23:14:52 +0800
committerarved <arved@FreeBSD.org>2008-01-04 23:14:52 +0800
commit007895f987eb77f193453768f95de239dd5f521e (patch)
treeb642c873611c88bf0bf93f3f33671044ccd66efb /biology
parentc5e159cb946c0bf388f8a1dcaff6ca395016c1e8 (diff)
downloadfreebsd-ports-gnome-007895f987eb77f193453768f95de239dd5f521e.tar.gz
freebsd-ports-gnome-007895f987eb77f193453768f95de239dd5f521e.tar.zst
freebsd-ports-gnome-007895f987eb77f193453768f95de239dd5f521e.zip
Fix build on !i386
PR: 118922 Submitted by: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp> Approved by: Fernan Aguero <fernan@iib.unsam.edu.ar>
Diffstat (limited to 'biology')
-rw-r--r--biology/blat/Makefile14
1 files 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 <bsd.port.post.mk>