git: 984193f80444 - main - devel/pmdk: Remove examples from build

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 20 Jul 2022 22:00:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=984193f80444660ee3aa39fc19d7f9d85c91e5d9

commit 984193f80444660ee3aa39fc19d7f9d85c91e5d9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-20 21:59:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-20 22:00:06 +0000

    devel/pmdk: Remove examples from build
    
    ... in an attempt to unbreak on 14. examples break on 14
    with ncursers-related error.
    
    Reported by:    fallout
---
 devel/pmdk/files/patch-src_Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/devel/pmdk/files/patch-src_Makefile b/devel/pmdk/files/patch-src_Makefile
new file mode 100644
index 000000000000..bf154cf3f6ab
--- /dev/null
+++ b/devel/pmdk/files/patch-src_Makefile
@@ -0,0 +1,20 @@
+- remove examples from build: they use ncurses and break on 14
+
+--- src/Makefile.orig	2022-07-20 21:50:52 UTC
++++ src/Makefile
+@@ -37,13 +37,13 @@ include $(TOP)/src/common.inc
+ 
+ TARGETS = libpmem libvmem libpmemblk libpmemlog libpmemobj libpmempool\
+ 		  libvmmalloc tools
+-ALL_TARGETS = $(TARGETS) common librpmem examples benchmarks
++ALL_TARGETS = $(TARGETS) common librpmem benchmarks
+ 
+ SCOPE_DIRS = $(TARGETS) common librpmem rpmem_common
+ 
+ DEBUG_RELEASE_TARGETS = common libpmem libvmem libpmemblk libpmemlog libpmemobj\
+ 	libpmempool libvmmalloc librpmem
+-RELEASE_TARGETS = tools examples benchmarks
++RELEASE_TARGETS = tools benchmarks
+ 
+ CLEAN_NO_JE_TARGETS = $(ALL_TARGETS) rpmem_common test
+ CLEAN_TARGETS = $(CLEAN_NO_JE_TARGETS) jemalloc