From 21c5c10bc6ecf60508d492fc1f57ae28280ce6c4 Mon Sep 17 00:00:00 2001 From: pin Date: Fri, 28 Feb 2020 15:07:24 +0100 Subject: [PATCH] sowm, generate configuration file prior to build --- sowm/Makefile | 6 +++++- sowm/PLIST | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) 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