Hi, this is just a small patch to the dmenu's config.mk file for it to 
build on FreeBSD. It follows the same "OpenBSD (uncomment)" 
configuration style in config.mk.

Is this of any interest? I have also made these small patches for dwm, 
slock and slstatus as well. All of these programs are in the FreeBSD 
ports, so someone must have already done this without submitting it to 
upstream? Hence the question if this is relevant.

Thank you!
From 71b156b5be45d8faf3ba670f20fa6840cd5dbdf8 Mon Sep 17 00:00:00 2001
From: Roberto Arturo Gonzalez Godinez <robglez...@pm.me>
Date: Tue, 4 Jun 2024 00:20:52 -0400
Subject: [PATCH] config.mk: freebsd support

---
 config.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config.mk b/config.mk
index 137f7c8..18acff0 100644
--- a/config.mk
+++ b/config.mk
@@ -18,6 +18,10 @@ FREETYPEINC = /usr/include/freetype2
 # OpenBSD (uncomment)
 #FREETYPEINC = $(X11INC)/freetype2
 #MANPREFIX = ${PREFIX}/man
+# FreeBSD (uncomment)
+#X11LIB = ${PREFIX}/lib
+#X11INC = ${PREFIX}/include
+#FREETYPEINC = ${X11INC}/freetype2
 
 # includes and libs
 INCS = -I$(X11INC) -I$(FREETYPEINC)
-- 
2.45.1

Reply via email to