From 7078fc3cb4ddad7eeccfd8124f0219de52998ad2 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 22 Mar 2001 22:50:22 +0000 Subject: Correct logic who's result was OpenJade not being used to satisfy the dependency on the Alpha platform. --- textproc/sgmlformat/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'textproc') diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile index e5a7a03ca3c6..95aca3def15b 100644 --- a/textproc/sgmlformat/Makefile +++ b/textproc/sgmlformat/Makefile @@ -18,20 +18,17 @@ MAINTAINER= kuriyama@FreeBSD.org .include +.if ${MACHINE_ARCH} == "alpha" +WITH_OPENJADE= yes +.endif + .if ${OSVERSION} < 220000 RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp +.elif defined(WITH_OPENJADE) +RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade .else RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade .endif - -.if defined(WITH_OPENJADE) -RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade -.endif - -.if ${MACHINE_ARCH} == "alpha" -WITH_OPENJADE= yes -.endif - RUN_DEPENDS+= ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \ ${PREFIX}/share/sgml/docbook:${PORTSDIR}/textproc/docbook -- cgit v1.2.3