parent
fef2e6dede
commit
670f4b054e
@ -0,0 +1,20 @@
|
|||||||
|
diff -up ./Makefile.orig ./Makefile
|
||||||
|
--- ./Makefile.orig 2009-04-01 05:02:42.000000000 +0200
|
||||||
|
+++ ./Makefile 2009-04-01 05:04:27.000000000 +0200
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-PREFIX?=/usr/local
|
||||||
|
+PREFIX?=/usr
|
||||||
|
INSTALLBIN?=$(PREFIX)/bin
|
||||||
|
INSTALLMAN?=$(PREFIX)/man
|
||||||
|
|
||||||
|
@@ -10,8 +10,8 @@ WARNFLAGS+=-pedantic -Wall -W -Wundef \
|
||||||
|
|
||||||
|
CFLAGS=-pipe -std=c99 $(WARNFLAGS)
|
||||||
|
|
||||||
|
-DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
|
||||||
|
-DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include
|
||||||
|
+DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/lib -lX11 -lXtst
|
||||||
|
+DEFAULT_INC=-I/usr/X11R6/include -I/usr/include
|
||||||
|
|
||||||
|
LIBS=`pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)"`
|
||||||
|
INC=`pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)"`
|
Loading…
Reference in new issue