mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
b83a950cb2
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
26 lines
768 B
Diff
26 lines
768 B
Diff
diff -Naur dmenu-4.3.1-orig/config.mk dmenu-4.3.1/config.mk
|
|
--- dmenu-4.3.1-orig/config.mk 2011-05-18 12:02:16.000000000 -0400
|
|
+++ dmenu-4.3.1/config.mk 2011-06-25 18:13:35.000000000 -0400
|
|
@@ -4,6 +4,7 @@
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
+LIBDIR = /usr/local/lib
|
|
|
|
X11INC = /usr/X11R6/include
|
|
X11LIB = /usr/X11R6/lib
|
|
@@ -14,11 +15,12 @@
|
|
|
|
# includes and libs
|
|
INCS = -I${X11INC}
|
|
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
|
|
+LIBS = -L${LIBDIR} -L${X11LIB} -lX11 ${XINERAMALIBS}
|
|
|
|
# flags
|
|
+OPTS ?= -Os
|
|
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
-CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
+CFLAGS = -ansi -pedantic -Wall ${OPTS} ${INCS} ${CPPFLAGS}
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
# compiler and linker
|