Author: bdrewery
Date: Thu Aug 11 17:06:48 2016
New Revision: 303964
URL: https://svnweb.freebsd.org/changeset/base/303964

Log:
  PROGS: Support INTERNALPROG.prog=yes to not install it.
  
  MFC after:    3 days
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.README
  head/share/mk/bsd.progs.mk

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README    Thu Aug 11 15:06:12 2016        (r303963)
+++ head/share/mk/bsd.README    Thu Aug 11 17:06:48 2016        (r303964)
@@ -331,6 +331,7 @@ PROGS_CXX   PROG and PROGS_CXX in one Make
                - DEBUG_FLAGS
                - DPADD
                - DPSRCS
+               - INTERNALPROG (no installation)
                - LDADD
                - LDFLAGS
                - LIBADD

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk  Thu Aug 11 15:06:12 2016        (r303963)
+++ head/share/mk/bsd.progs.mk  Thu Aug 11 17:06:48 2016        (r303964)
@@ -24,8 +24,8 @@ PROGS += ${PROGS_CXX}
 # just one of many
 PROG_OVERRIDE_VARS +=  BINDIR BINGRP BINOWN BINMODE DPSRCS MAN NO_WERROR \
                        PROGNAME SRCS STRIP WARNS
-PROG_VARS +=   CFLAGS CXXFLAGS DEBUG_FLAGS DPADD LDADD LIBADD LINKS \
-               LDFLAGS MLINKS ${PROG_OVERRIDE_VARS}
+PROG_VARS +=   CFLAGS CXXFLAGS DEBUG_FLAGS DPADD INTERNALPROG LDADD LIBADD \
+               LINKS LDFLAGS MLINKS ${PROG_OVERRIDE_VARS}
 .for v in ${PROG_VARS:O:u}
 .if empty(${PROG_OVERRIDE_VARS:M$v})
 .if defined(${v}.${PROG})
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to