diff --git a/math/teyjus/Makefile b/math/teyjus/Makefile index 37a29e3dbaf3..f51fb4d9ae59 100644 --- a/math/teyjus/Makefile +++ b/math/teyjus/Makefile @@ -1,41 +1,47 @@ PORTNAME= teyjus DISTVERSIONPREFIX= v DISTVERSION= 2.1-7 DISTVERSIONSUFFIX= -ge63f40a PORTREVISION= 1 CATEGORIES= math lang MAINTAINER= yuri@FreeBSD.org COMMENT= Higher-order logic programming language Lambda Prolog WWW= http://teyjus.cs.umn.edu/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= omake:devel/omake \ bash:shells/bash USES= dos2unix ocaml shebangfix DOS2UNIX_FILES= source/OMakefile SHEBANG_GLOB= run_test USE_GITHUB= yes CFLAGS+= -Wno-error=comment EXES= tjcc tjdepend tjdis tjlink tjsim PLIST_FILES= ${EXES:S/^/bin\//} +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + # replacing bundled and outdated OCaml headers with a symlink to # the current headers post-patch: ${RM} -r ${WRKSRC}/source/front/caml ${LN} -s ${LOCALBASE}/${OCAML_LIBDIR}/caml ${WRKSRC}/source/front/caml do-build: @(cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} omake) do-install: .for e in ${EXES} ${INSTALL_PROGRAM} ${WRKSRC}/source/${e}.opt ${STAGEDIR}${PREFIX}/bin/${e} .endfor .include