mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
202e26133e
Requires fontconfig >= 2.11.91, so it will not build on 14.2 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
25 lines
820 B
Diff
25 lines
820 B
Diff
--- dmenu-4.9-orig/config.mk 2019-02-02 05:55:02.000000000 -0700
|
|
+++ dmenu-4.9/config.mk 2020-04-19 13:12:15.427727907 -0600
|
|
@@ -4,6 +4,7 @@
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
+LIBDIR = /usr/local/lib
|
|
|
|
X11INC = /usr/X11R6/include
|
|
X11LIB = /usr/X11R6/lib
|
|
@@ -20,11 +21,12 @@
|
|
|
|
# includes and libs
|
|
INCS = -I$(X11INC) -I$(FREETYPEINC)
|
|
-LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
|
|
+LIBS = -L$(LIBDIR) -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
|
|
|
|
# flags
|
|
+OPTS ?= -Os
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
|
|
+CFLAGS = -std=c99 -pedantic -Wall $(OPTS) $(INCS) $(CPPFLAGS)
|
|
LDFLAGS = $(LIBS)
|
|
|
|
# compiler and linker
|