svn commit: r245882 - head/gnu/usr.bin/cc/c++
Brooks Davis
brooks at FreeBSD.org
Thu Jan 24 15:18:42 UTC 2013
Author: brooks
Date: Thu Jan 24 15:18:41 2013
New Revision: 245882
URL: http://svnweb.freebsd.org/changeset/base/245882
Log:
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).
Modified:
head/gnu/usr.bin/cc/c++/Makefile
Modified: head/gnu/usr.bin/cc/c++/Makefile
==============================================================================
--- head/gnu/usr.bin/cc/c++/Makefile Thu Jan 24 15:14:22 2013 (r245881)
+++ head/gnu/usr.bin/cc/c++/Makefile Thu Jan 24 15:18:41 2013 (r245882)
@@ -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>
More information about the svn-src-head
mailing list