From fd309737271993754984c9d12d5bd3f86e3fac12 Mon Sep 17 00:00:00 2001 From: brooks Date: Thu, 24 Jan 2013 15:18:41 +0000 Subject: 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). --- gnu/usr.bin/cc/c++/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile index f434b34..54e8561 100644 --- a/gnu/usr.bin/cc/c++/Makefile +++ b/gnu/usr.bin/cc/c++/Makefile @@ -1,7 +1,5 @@ # $FreeBSD$ -.include - .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 + +.if ${MK_CLANG_IS_CC} == "no" +LINKS= ${BINDIR}/g++ ${BINDIR}/c++ +LINKS+= ${BINDIR}/g++ ${BINDIR}/CC +.endif + .include -- cgit v1.1