pkgsrc-WIP-changes archive

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

sowm, minor corrections



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Apr 11 06:02:19 2020 +0200
Changeset:	cedb5aa0af7f986a49faea29ebcdaa10dc6400f9

Modified Files:
	sowm/Makefile
	sowm/distinfo
	sowm/patches/patch-config.def.h

Log Message:
sowm, minor corrections

Makefile:
-Use SUBST_MESSAGE instead of comment
-Do not cd into WRKSRC prior to install README.md
Patch:
-Comment on the use of scrot

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

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

diffstat:
 sowm/Makefile                   | 5 ++---
 sowm/distinfo                   | 2 +-
 sowm/patches/patch-config.def.h | 1 +
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/sowm/Makefile b/sowm/Makefile
index 5ba609e378..23fcd7754b 100644
--- a/sowm/Makefile
+++ b/sowm/Makefile
@@ -13,10 +13,10 @@ USE_LANGUAGES=	c99
 
 INSTALLATION_DIRS+=	bin share/doc/sowm
 
-#Do not force -O3 optimizations
 SUBST_CLASSES+=		optimize
 SUBST_STAGE.optimize=	pre-configure
 SUBST_SED.optimize+=	-e 's|-O3||g'
+SUBST_MESSAGE.optimize=	Do not force -O3 optimizations
 SUBST_FILES.optimize+=	Makefile
 
 DEPENDS+=	dmenu-[0-9]*:../../x11/dmenu
@@ -29,8 +29,7 @@ DEPENDS+=	alsa-utils-[0-9]*:../../audio/alsa-utils
 .endif
 
 post-install:
-	${RUN} cd ${WRKSRC} && ${INSTALL_DATA} README.md \
-	${DESTDIR}${PREFIX}/share/doc/sowm
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/sowm
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/sowm/distinfo b/sowm/distinfo
index 94ea5b4342..9679f49f9b 100644
--- a/sowm/distinfo
+++ b/sowm/distinfo
@@ -4,4 +4,4 @@ SHA1 (sowm-1.6.tar.gz) = 87bd3f40ae70364c15f8e36c78c95e146d1423ac
 RMD160 (sowm-1.6.tar.gz) = f1f5ec85623335214e9e89fc2ce2e48a74679415
 SHA512 (sowm-1.6.tar.gz) = 36f0818d769c224c727713d862201dee7478a04e99c4b0ea0e48a1e1a12a033f704962351ec39df901c196a0ab75fd07b0551b6177f3bb51639dc1ea362b0c16
 Size (sowm-1.6.tar.gz) = 5916 bytes
-SHA1 (patch-config.def.h) = 168b053ed36b3e29aad9d060c5bfdc60dc4c88ed
+SHA1 (patch-config.def.h) = 8ea95b69bc52f4913dce9a7650cae1739bfd1400
diff --git a/sowm/patches/patch-config.def.h b/sowm/patches/patch-config.def.h
index b68d51375d..46411a7b08 100644
--- a/sowm/patches/patch-config.def.h
+++ b/sowm/patches/patch-config.def.h
@@ -1,6 +1,7 @@
 $NetBSD$
 
 Use mixerctl instead of amixer on NetBSD
+Use scrot instead of scr as no scr is provided by pkg scrot
 
 --- config.def.h.orig	2020-02-21 16:08:47.000000000 +0000
 +++ config.def.h


Home | Main Index | Thread Index | Old Index