summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-03-22 22:50:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-03-22 22:50:22 +0000
commit7078fc3cb4ddad7eeccfd8124f0219de52998ad2 (patch)
tree0c85dd27357d2a3d3f919ace53584116782f7730
parentA jpilot plugin for malsync. (diff)
Correct logic who's result was OpenJade not being used to satisfy the
dependency on the Alpha platform.
Notes
Notes: svn path=/head/; revision=40223
-rw-r--r--textproc/sgmlformat/Makefile15
1 files changed, 6 insertions, 9 deletions
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 <bsd.port.pre.mk>
+.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