pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

icewm3: fix build failure on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Aleksey Cheusov <vle%gmx.net@localhost>
Pushed By:	cheusov
Date:		Tue Jun 4 16:33:42 2024 +0400
Changeset:	6751271d96544fbb25211b9dde04476e37b1788d

Modified Files:
	icewm3/Makefile
	icewm3/distinfo
Added Files:
	icewm3/patches/patch-doc_Makefile.am

Log Message:
icewm3: fix build failure on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6751271d96544fbb25211b9dde04476e37b1788d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 icewm3/Makefile                      |  2 ++
 icewm3/distinfo                      |  1 +
 icewm3/patches/patch-doc_Makefile.am | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)

diffs:
diff --git a/icewm3/Makefile b/icewm3/Makefile
index 83bb2a6d4a..8ab7f04b7f 100644
--- a/icewm3/Makefile
+++ b/icewm3/Makefile
@@ -17,6 +17,8 @@ GNU_CONFIGURE=		yes
 USE_PKGLOCALEDIR=	yes
 USE_LANGUAGES=		c c++
 
+CONFIGURE_ENV+=		MARKDOWN=multimarkdown
+
 CONFIGURE_ARGS+=	--enable-corefonts
 CONFIGURE_ARGS+=	--enable-i18n
 
diff --git a/icewm3/distinfo b/icewm3/distinfo
index f551e24cf0..bbcbf8e577 100644
--- a/icewm3/distinfo
+++ b/icewm3/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 BLAKE2s (icewm-3.5.0.tar.gz) = 6b84dedaa05bfc27d1cf0f72f9dd3a7f8e24b4537a23dcc696115242ea10fac0
 SHA512 (icewm-3.5.0.tar.gz) = 0d0bb2a87062a04c09d49c0eafefa076055a980255410b5fe06fcf03fa26a60555d0ea6c814e995a38fc1a8534c645f74527e481194ea5f51ef4f24074da914e
 Size (icewm-3.5.0.tar.gz) = 2475492 bytes
+SHA1 (patch-doc_Makefile.am) = de2c5b3cd65c500af315bb86313507db474684e0
diff --git a/icewm3/patches/patch-doc_Makefile.am b/icewm3/patches/patch-doc_Makefile.am
new file mode 100644
index 0000000000..13add6d2b2
--- /dev/null
+++ b/icewm3/patches/patch-doc_Makefile.am
@@ -0,0 +1,22 @@
+$NetBSD$
+
+https://github.com/ice-wm/icewm/issues/168
+
+--- doc/Makefile.am.orig	2024-05-20 14:51:49.000000000 +0000
++++ doc/Makefile.am
+@@ -13,13 +13,9 @@ adoc_input = $(srcdir)/icewm.adoc
+ 
+ $(html_documentation):
+ 	$(AM_V_GEN)if test -x "`which $(MARKDOWN) 2>/dev/null`"; then \
+-		if test $(mark_input) -nt $(html_documentation); then \
+-			$(MARKDOWN) $(mark_input) >$@; \
+-		fi; \
++		$(MARKDOWN) $(mark_input) >$@; \
+ 	elif test -x "`which $(ASCIIDOC) 2>/dev/null`"; then \
+-		if test $(adoc_input) -nt $(html_documentation); then \
+-			$(ASCIIDOC) $(ASCIIDOC_BACKEND) -o $@ $(adoc_input); \
+-		fi; \
++		$(ASCIIDOC) $(ASCIIDOC_BACKEND) -o $@ $(adoc_input); \
+ 	else \
+ 		echo "Please install markdown or asciidoctor." >&2; \
+ 		exit 1; \


Home | Main Index | Thread Index | Old Index