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:
parent
abefb1134c
commit
d0b605effc
@ -9,6 +9,16 @@
|
|||||||
# names, so the required part of the ports infrastructure will
|
# names, so the required part of the ports infrastructure will
|
||||||
# be cvs co'ed accordingly.
|
# 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= \
|
MINIMALDOCPORTS= \
|
||||||
ports/Mk \
|
ports/Mk \
|
||||||
ports/archivers/unzip \
|
ports/archivers/unzip \
|
||||||
@ -47,6 +57,9 @@ MINIMALDOCPORTS= \
|
|||||||
ports/textproc/xhtml \
|
ports/textproc/xhtml \
|
||||||
ports/www/links1 \
|
ports/www/links1 \
|
||||||
ports/www/tidy
|
ports/www/tidy
|
||||||
|
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 )
|
||||||
|
MINIMALDOCPORTS+= ports/textproc/sed_inplace
|
||||||
|
.endif
|
||||||
.if ${MACHINE_ARCH} == "alpha"
|
.if ${MACHINE_ARCH} == "alpha"
|
||||||
MINIMALDOCPORTS+= ports/textproc/openjade
|
MINIMALDOCPORTS+= ports/textproc/openjade
|
||||||
.else
|
.else
|
||||||
|
Loading…
Reference in New Issue
Block a user