Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 15:18:42 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245882 - head/gnu/usr.bin/cc/c++
Message-ID:  <201301241518.r0OFIg15081067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301241518.r0OFIg15081067>