6973701a00
a. The BSD version will be built and installed unless WITHOUT_BSD_CPIO is defined. b. The GNU version will not be built or installed unless WITH_GNU_CPIO is defined. If this is defined, the symlink in /usr/bin will be to the GNU version whether the BSD version is present or not. When these changes are MFCed the defaults should be flipped. 2. Add a knob to disable the building of GNU grep. This will make it easier for those that want to test the BSD version in the ports. Approved by: kientzle [1]
65 lines
743 B
Makefile
65 lines
743 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= bc \
|
|
${_binutils} \
|
|
${_cc} \
|
|
${_cpio} \
|
|
${_cvs} \
|
|
dc \
|
|
dialog \
|
|
diff \
|
|
diff3 \
|
|
${_gdb} \
|
|
${_gperf} \
|
|
${_grep} \
|
|
${_groff} \
|
|
${_man} \
|
|
patch \
|
|
${_rcs} \
|
|
sdiff \
|
|
send-pr \
|
|
sort \
|
|
${_texinfo}
|
|
|
|
.if ${MK_CXX} != "no"
|
|
_gperf= gperf
|
|
.if ${MK_GROFF} != "no"
|
|
_groff= groff
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MK_GNU_CPIO} == "yes"
|
|
_cpio= cpio
|
|
.endif
|
|
|
|
.if ${MK_CVS} != "no"
|
|
_cvs= cvs
|
|
.endif
|
|
|
|
.if ${MK_GNU_GREP} != "no"
|
|
_grep= grep
|
|
.endif
|
|
|
|
.if ${MK_MAN} != "no"
|
|
_man= man
|
|
.endif
|
|
|
|
.if ${MK_INFO} != "no"
|
|
_texinfo= texinfo
|
|
.endif
|
|
|
|
.if ${MK_TOOLCHAIN} != "no"
|
|
_binutils= binutils
|
|
_cc= cc
|
|
.if ${MK_GDB} != "no"
|
|
_gdb= gdb
|
|
.endif
|
|
.endif
|
|
.if ${MK_RCS} != "no"
|
|
_rcs= rcs
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|