diff --git a/UPDATING b/UPDATING --- a/UPDATING +++ b/UPDATING @@ -28,11 +28,15 @@ at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20250923: + Several changes which affect pkgbase users (only): + powerd has been moved to a new FreeBSD-powerd package. If you have FreeBSD-set-minimal installed, the new package will be installed automatically, otherwise you may want to install it by hand. - This only affects pkgbase users. + libpmc and related utilities (/usr/sbin/pmc*) have moved to the new + FreeBSD-pmc package. If you use these, you may want to install the + package. 20250918: mandoc (including /usr/bin/man) has been moved to a new package, diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile --- a/lib/libpmc/Makefile +++ b/lib/libpmc/Makefile @@ -1,5 +1,5 @@ -LIB_CXX= pmc - +PACKAGE=pmc +LIB_CXX=pmc SRCS= libpmc.c pmclog.c libpmc_pmu_util.c libpmc_json.cc INCS= pmc.h pmclog.h pmcformat.h diff --git a/release/packages/ucl/pmc-all.ucl b/release/packages/ucl/pmc-all.ucl new file mode 100644 --- /dev/null +++ b/release/packages/ucl/pmc-all.ucl @@ -0,0 +1,12 @@ +comment = "Support for hardware performance counters" + +desc = < +PACKAGE= pmc PROG_CXX= pmc MAN= CWARNFLAGS.gcc+= -Wno-redundant-decls diff --git a/usr.sbin/pmcannotate/Makefile b/usr.sbin/pmcannotate/Makefile --- a/usr.sbin/pmcannotate/Makefile +++ b/usr.sbin/pmcannotate/Makefile @@ -1,6 +1,4 @@ -# -# - +PACKAGE=pmc PROG= pmcannotate MAN= pmcannotate.8 diff --git a/usr.sbin/pmccontrol/Makefile b/usr.sbin/pmccontrol/Makefile --- a/usr.sbin/pmccontrol/Makefile +++ b/usr.sbin/pmccontrol/Makefile @@ -1,6 +1,4 @@ -# -# - +PACKAGE= pmc PROG_CXX= pmccontrol MAN= pmccontrol.8 diff --git a/usr.sbin/pmcstat/Makefile b/usr.sbin/pmcstat/Makefile --- a/usr.sbin/pmcstat/Makefile +++ b/usr.sbin/pmcstat/Makefile @@ -1,6 +1,4 @@ -# -# - +PACKAGE= pmc PROG_CXX= pmcstat MAN= pmcstat.8 diff --git a/usr.sbin/pmcstudy/Makefile b/usr.sbin/pmcstudy/Makefile --- a/usr.sbin/pmcstudy/Makefile +++ b/usr.sbin/pmcstudy/Makefile @@ -1,3 +1,4 @@ +PACKAGE=pmc PROG= pmcstudy MAN= pmcstudy.8 SRCS= pmcstudy.c eval_expr.c