svn commit: r264895 - head/share/mk

Warner Losh imp at
Thu Apr 24 21:18:22 UTC 2014

Author: imp
Date: Thu Apr 24 21:18:22 2014
New Revision: 264895

  Don't need to make these conditional on MK_LIBCPLUSPLUS. They can be
  defined all the time without ill effect.


Modified: head/share/mk/
--- head/share/mk/	Thu Apr 24 21:18:14 2014	(r264894)
+++ head/share/mk/	Thu Apr 24 21:18:22 2014	(r264895)
@@ -24,10 +24,8 @@ LIBBSDXML?=	${DESTDIR}${LIBDIR}/libbsdxm
 LIBBSM?=	${DESTDIR}${LIBDIR}/libbsm.a
 LIBBSNMP?=	${DESTDIR}${LIBDIR}/libbsnmp.a
 LIBBZ2?=	${DESTDIR}${LIBDIR}/libbz2.a
-.if ${MK_LIBCPLUSPLUS} != "no"
 LIBCXXRT?=	${DESTDIR}${LIBDIR}/libcxxrt.a
 LIBC?=		${DESTDIR}${LIBDIR}/libc.a
 LIBC_PIC?=	${DESTDIR}${LIBDIR}/libc_pic.a
 LIBCALENDAR?=	${DESTDIR}${LIBDIR}/libcalendar.a
@@ -96,7 +94,9 @@ LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpai
 LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
 # The static PAM library doesn't know its secondary dependencies,
-# so we have to specify them explicitly.
+# so we have to specify them explicitly. Ths is an unfortunate,
+# but necessary departure from testing MK_ flags to define
+# values here.
 LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
 .if defined(LDFLAGS) && !empty(LDFLAGS:M-static)

More information about the svn-src-head mailing list