Reorder so that NO_MAN is declared before bsd.own.mk is included and thus

has an effect (not installed a g++.1 manpage over the g++.1(.gz) link
created in ../cc).
This commit is contained in:
Brooks Davis 2013-01-24 15:18:41 +00:00
parent 0a82286445
commit 4282299f69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245882

View File

@ -1,7 +1,5 @@
# $FreeBSD$
.include <bsd.own.mk>
.include "../Makefile.inc"
.include "../Makefile.fe"
@ -9,13 +7,16 @@
PROG= g++
SRCS+= g++spec.c
.if ${MK_CLANG_IS_CC} == "no"
LINKS= ${BINDIR}/g++ ${BINDIR}/c++
LINKS+= ${BINDIR}/g++ ${BINDIR}/CC
.endif
NO_MAN=
DPADD= ${LIBCPP} ${LIBIBERTY}
LDADD= ${LIBCPP} ${LIBIBERTY}
.include <bsd.own.mk>
.if ${MK_CLANG_IS_CC} == "no"
LINKS= ${BINDIR}/g++ ${BINDIR}/c++
LINKS+= ${BINDIR}/g++ ${BINDIR}/CC
.endif
.include <bsd.prog.mk>