pkgsrc-WIP-changes archive

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

sowm, generate configuration file prior to build



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Feb 28 15:07:24 2020 +0100
Changeset:	21c5c10bc6ecf60508d492fc1f57ae28280ce6c4

Modified Files:
	sowm/Makefile
	sowm/PLIST

Log Message:
sowm, generate configuration file prior to build

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

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

diffstat:
 sowm/Makefile | 6 +++++-
 sowm/PLIST    | 1 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/sowm/Makefile b/sowm/Makefile
index 9e3d8e4c11..a3a023b400 100644
--- a/sowm/Makefile
+++ b/sowm/Makefile
@@ -10,7 +10,11 @@ HOMEPAGE=	https://github.com/dylanaraps/sowm/
 COMMENT=	Itsy bitsy floating window manager
 LICENSE=	mit
 
-INSTALLATION_DIRS+=	bin doc
+INSTALLATION_DIRS+=	bin
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && \
+	cp config.def.h config.h
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/sowm/PLIST b/sowm/PLIST
index 3ac64a57fd..0196d6c071 100644
--- a/sowm/PLIST
+++ b/sowm/PLIST
@@ -1,3 +1,2 @@
 @comment $NetBSD$
 bin/sowm
-@pkgdir doc


Home | Main Index | Thread Index | Old Index