aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-06-19 15:49:31 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-06-19 15:49:31 +0000
commit79ac3c12a714bcd3f2354c52d948aed9575c46d6 (patch)
treec9309d49fb53a7f913f6fecce7f1aab4bfd559d1
parent395d907e61d11657176adef3bed997882e4aa580 (diff)
downloadsrc-79ac3c12a714bcd3f2354c52d948aed9575c46d6.tar.gz
src-79ac3c12a714bcd3f2354c52d948aed9575c46d6.zip
pkgbase: Put dtrace in its own package
While dtrace is usefull some people might not want it. Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
-rw-r--r--cddl/lib/drti/Makefile1
-rw-r--r--cddl/lib/libdtrace/Makefile1
-rw-r--r--cddl/usr.sbin/dtrace/Makefile1
-rw-r--r--cddl/usr.sbin/lockstat/Makefile1
-rw-r--r--cddl/usr.sbin/plockstat/Makefile1
-rw-r--r--release/packages/Makefile.package2
-rw-r--r--share/dtrace/Makefile1
7 files changed, 8 insertions, 0 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile
index b38949d1d5fe..321352c7100c 100644
--- a/cddl/lib/drti/Makefile
+++ b/cddl/lib/drti/Makefile
@@ -2,6 +2,7 @@
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/common
+PACKAGE= dtrace
SRCS= drti.c
FILES= ${SRCS:R:S/$/.o/g}
FILESOWN= ${LIBOWN}
diff --git a/cddl/lib/libdtrace/Makefile b/cddl/lib/libdtrace/Makefile
index 45ca1692cf48..26ff06b46c40 100644
--- a/cddl/lib/libdtrace/Makefile
+++ b/cddl/lib/libdtrace/Makefile
@@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/common
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libgen/common
+PACKAGE= dtrace
LIB= dtrace
SRCS= dt_aggregate.c \
dt_as.c \
diff --git a/cddl/usr.sbin/dtrace/Makefile b/cddl/usr.sbin/dtrace/Makefile
index f1248f419bee..d8510e62fb29 100644
--- a/cddl/usr.sbin/dtrace/Makefile
+++ b/cddl/usr.sbin/dtrace/Makefile
@@ -4,6 +4,7 @@
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/dtrace
+PACKAGE= dtrace
PROG= dtrace
SRCS= dtrace.c
BINDIR?= /usr/sbin
diff --git a/cddl/usr.sbin/lockstat/Makefile b/cddl/usr.sbin/lockstat/Makefile
index 9b5886bf2061..a4bec42df367 100644
--- a/cddl/usr.sbin/lockstat/Makefile
+++ b/cddl/usr.sbin/lockstat/Makefile
@@ -2,6 +2,7 @@
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/lockstat
+PACKAGE= dtrace
PROG= lockstat
SRCS= lockstat.c sym.c
BINDIR?= /usr/sbin
diff --git a/cddl/usr.sbin/plockstat/Makefile b/cddl/usr.sbin/plockstat/Makefile
index c267a2135c3b..22610870c846 100644
--- a/cddl/usr.sbin/plockstat/Makefile
+++ b/cddl/usr.sbin/plockstat/Makefile
@@ -2,6 +2,7 @@
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/plockstat
+PACKAGE= dtrace
PROG= plockstat
SRCS= plockstat.c
BINDIR?= /usr/sbin
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index dd7ce63d78a1..459dfdabf590 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -34,6 +34,8 @@ dma_COMMENT= DMA Mail Agent Utilities
dma_DESC= DMA Mail Agent Utilities
docs_COMMENT= Documentation
docs_DESC= Documentation
+dtrace_COMMENT= Dtrace Utilities
+dtrace_DESC= Dtrace Utilities
ee_COMMENT= Easy Editor Utilities
ee_DESC= Easy Editor Utilities
gdb_COMMENT= GDB Utilities
diff --git a/share/dtrace/Makefile b/share/dtrace/Makefile
index 95e0b4fee4e3..45b173565796 100644
--- a/share/dtrace/Makefile
+++ b/share/dtrace/Makefile
@@ -6,6 +6,7 @@
.include <src.opts.mk>
+PACKAGE= dtrace
SCRIPTS= blocking \
disklatency \
disklatencycmd \