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>
This commit is contained in:
Tilman Keskinoz 2008-01-04 15:14:52 +00:00
parent c1ee58926e
commit 5f2b0bacf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205000

View file

@ -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>