1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Remove tests for FreeBSD 2.x versions. Modern versions of bsd.*.mk do not

support anything that old.

Hat:		portmgr
This commit is contained in:
Mark Linimon 2006-06-22 19:01:36 +00:00
parent ac3d6b8aa7
commit 45a431f820
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166046
2 changed files with 4 additions and 10 deletions

View File

@ -20,16 +20,13 @@ COMMENT= A DocBook SGML DTD into nroff/troff -man macros converter
#
# There are two ports that satisfy the nsgmls requirement.
# Jade is preferred, but it currently doesn't compile on 2.1.x
# system, so use sp in that case.
# Jade is preferred.
.if ${MACHINE_ARCH} == "alpha"
WITH_OPENJADE= yes
.endif
.if ${OSVERSION} < 220000
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp
.elif defined(WITH_OPENJADE)
.if defined(WITH_OPENJADE)
RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade
.else
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade

View File

@ -17,8 +17,7 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Generates groff and HTML from linuxdoc and docbook SGML documents
# There are two ports that satisfy the nsgmls requirement.
# Jade is preferred, but it currently doesn't compile on 2.1.x
# system, so use sp in that case.
# Jade is preferred.
.include <bsd.port.pre.mk>
@ -26,9 +25,7 @@ COMMENT= Generates groff and HTML from linuxdoc and docbook SGML documents
WITH_OPENJADE= yes
.endif
.if ${OSVERSION} < 220000
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp
.elif defined(WITH_OPENJADE)
.if defined(WITH_OPENJADE)
RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade
.else
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade