Make building docs possible on systems where sed(1) can't do in-place editing.

Obtained from:	ports/Mk/bsd.port.mk
This commit is contained in:
ru 2002-07-26 11:22:46 +00:00
parent abefb1134c
commit d0b605effc

View File

@ -9,6 +9,16 @@
# names, so the required part of the ports infrastructure will
# be cvs co'ed accordingly.
#
# Get __FreeBSD_version
.if !defined(OSVERSION)
.if exists(/sbin/sysctl)
OSVERSION!= /sbin/sysctl -n kern.osreldate
.else
OSVERSION!= /usr/sbin/sysctl -n kern.osreldate
.endif
.endif
MINIMALDOCPORTS= \
ports/Mk \
ports/archivers/unzip \
@ -47,6 +57,9 @@ MINIMALDOCPORTS= \
ports/textproc/xhtml \
ports/www/links1 \
ports/www/tidy
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 )
MINIMALDOCPORTS+= ports/textproc/sed_inplace
.endif
.if ${MACHINE_ARCH} == "alpha"
MINIMALDOCPORTS+= ports/textproc/openjade
.else