View | Details | Raw Unified | Return to bug 194401
Collapse All | Expand All

(-)src/include/Makefile (+12 lines)
Lines 133-138 Link Here
133
133
134
.include <bsd.prog.mk>
134
.include <bsd.prog.mk>
135
135
136
# Install sys/param.h at install target if installincludes is requested to
137
# be skipped. This keeps the ports tree usefull on machines which otherwise
138
# don't have include files, since bsd.port.mk extracts OSVERSIION from it.
139
.if defined(MK_TOOLCHAIN) && ${MK_TOOLCHAIN} == "no"
140
install:
141
.if exists(${DESTDIR}${INCLUDEDIR}/sys)
142
	cd ${.CURDIR}/../sys/sys; \
143
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 param.h \
144
	    ${DESTDIR}${INCLUDEDIR}/sys
145
.endif
146
.endif
147
136
installincludes: ${SHARED}
148
installincludes: ${SHARED}
137
${SHARED}: compat
149
${SHARED}: compat
138
150

Return to bug 194401