pkgsrc-WIP-changes archive

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

bsddialog: also install bsddialog_theme.h



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Tue Dec 3 23:51:16 2024 +0100
Changeset:	2759f00df7b32f5a3983b2266525e9658770423d

Modified Files:
	bsddialog/PLIST
	bsddialog/distinfo
	bsddialog/patches/patch-lib_Makefile
Added Files:
	bsddialog/patches/patch-lib_GNUmakefile

Log Message:
bsddialog: also install bsddialog_theme.h

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

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

diffstat:
 bsddialog/PLIST                         |  1 +
 bsddialog/distinfo                      |  3 ++-
 bsddialog/patches/patch-lib_GNUmakefile | 21 +++++++++++++++++++++
 bsddialog/patches/patch-lib_Makefile    | 18 ++++++++++++++++++
 4 files changed, 42 insertions(+), 1 deletion(-)

diffs:
diff --git a/bsddialog/PLIST b/bsddialog/PLIST
index 5cee676fcf..3b748b1690 100644
--- a/bsddialog/PLIST
+++ b/bsddialog/PLIST
@@ -2,6 +2,7 @@
 bin/bsddialog
 include/bsddialog.h
 include/bsddialog_progressview.h
+include/bsddialog_theme.h
 lib/libbsddialog.a
 lib/libbsddialog.so
 lib/libbsddialog.so.1.0.4
diff --git a/bsddialog/distinfo b/bsddialog/distinfo
index 70cd89427b..5413d05b68 100644
--- a/bsddialog/distinfo
+++ b/bsddialog/distinfo
@@ -3,5 +3,6 @@ $NetBSD$
 BLAKE2s (bsddialog-1.0.4.tar.gz) = 44fe9cf0b05a2ea3a003093debb77a6ad890774ce98fd4f4fe0f43a28d5a8731
 SHA512 (bsddialog-1.0.4.tar.gz) = 317ee8c7f69e7e24cc70b0e701c25b17b744aa606cb60ca9a67d756856a253a0fee231f05b55b187400c2f98cfbc464640f75457513cbeebb17aea3dd9057772
 Size (bsddialog-1.0.4.tar.gz) = 87327 bytes
-SHA1 (patch-lib_Makefile) = 46ec7125bcf1ef45840e08118e66bbed5ef495c1
+SHA1 (patch-lib_GNUmakefile) = 5e97c44570ea93a6f476920b6404432128d0952c
+SHA1 (patch-lib_Makefile) = c8b5387d496d1b6a45ae15258ba4a1bdb6625f80
 SHA1 (patch-utility_Makefile) = 08247e044594740830c8c418a3e54d31dd7b44d5
diff --git a/bsddialog/patches/patch-lib_GNUmakefile b/bsddialog/patches/patch-lib_GNUmakefile
new file mode 100644
index 0000000000..848de5213b
--- /dev/null
+++ b/bsddialog/patches/patch-lib_GNUmakefile
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Also install bsddialog_theme.h
+
+--- lib/GNUmakefile.orig	2024-12-03 22:45:55.753944428 +0000
++++ lib/GNUmakefile
+@@ -27,12 +27,14 @@ all: $(LIBRARY)
+ install: all
+ 	${INSTALL} -m 0644 bsddialog.h ${DESTDIR}${PREFIX}/include/bsddialog.h
+ 	${INSTALL} -m 0644 bsddialog_progressview.h ${DESTDIR}${PREFIX}/include/bsddialog_progressview.h
++	${INSTALL} -m 0644 bsddialog_theme.h ${DESTDIR}${PREFIX}/include/bsddialog_theme.h
+ 	${INSTALL} -m 0755 ${LIBRARY_SO}.${VERSION} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}.${VERSION}
+ 	${LN} ${LIBRARY_SO}.${VERSION} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}
+ 
+ uninstall:
+ 	${RM} ${DESTDIR}${PREFIX}/include/bsddialog.h
+ 	${RM} ${DESTDIR}${PREFIX}/include/bsddialog_progressview.h
++	${RM} ${DESTDIR}${PREFIX}/include/bsddialog_theme.h
+ 	${RM} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}.${VERSION}
+ 	${RM} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}
+ 
diff --git a/bsddialog/patches/patch-lib_Makefile b/bsddialog/patches/patch-lib_Makefile
index 0abc264c98..f6965c6c74 100644
--- a/bsddialog/patches/patch-lib_Makefile
+++ b/bsddialog/patches/patch-lib_Makefile
@@ -2,6 +2,8 @@ $NetBSD$
 
 Fix the build on NetBSD
 
+Also install bsddialog_theme.h
+
 --- lib/Makefile.orig	2024-12-02 18:36:02.000000000 +0000
 +++ lib/Makefile
 @@ -19,7 +19,7 @@ CFLAGS += -D_XOPEN_SOURCE_EXTENDED -fPIC
@@ -13,3 +15,19 @@ Fix the build on NetBSD
  
  LN = ln -s -f
  RM = rm -f
+@@ -29,6 +29,7 @@ all: ${LIBRARY}
+ install: all
+ 	${INSTALL} -m 0644 bsddialog.h ${DESTDIR}${PREFIX}/include/bsddialog.h
+ 	${INSTALL} -m 0644 bsddialog_progressview.h ${DESTDIR}${PREFIX}/include/bsddialog_progressview.h
++	${INSTALL} -m 0644 bsddialog_theme.h ${DESTDIR}${PREFIX}/include/bsddialog_theme.h
+ 	${INSTALL} -m 0644 ${LIBRARY_A} ${DESTDIR}${PREFIX}/lib/${LIBRARY_A}
+ 	${INSTALL} -m 0755 ${LIBRARY_SO}.${VERSION} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}.${VERSION}
+ 	${LN} ${LIBRARY_SO}.${VERSION} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}
+@@ -36,6 +37,7 @@ install: all
+ uninstall:
+ 	${RM} ${DESTDIR}${PREFIX}/include/bsddialog.h
+ 	${RM} ${DESTDIR}${PREFIX}/include/bsddialog_progressview.h
++	${RM} ${DESTDIR}${PREFIX}/include/bsddialog_theme.h
+ 	${RM} ${DESTDIR}${PREFIX}/lib/${LIBRARY_A}
+ 	${RM} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}.${VERSION}
+ 	${RM} ${DESTDIR}${PREFIX}/lib/${LIBRARY_SO}


Home | Main Index | Thread Index | Old Index