diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-22 18:53:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-22 18:53:00 +0100 |
commit | 59f88d54e9de5ddf950a289db26ceace4aed0807 (patch) | |
tree | 2c6b54ceea0e8c7f80885974740e33821b06058a /package/evilwm/patches/patch-Makefile | |
parent | 8c16102bc8b729bdb947575c16e342497b05b969 (diff) | |
parent | c0f6e4154eaf2c670af68522ac4e3b64beb8b130 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/evilwm/patches/patch-Makefile')
-rw-r--r-- | package/evilwm/patches/patch-Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/evilwm/patches/patch-Makefile b/package/evilwm/patches/patch-Makefile new file mode 100644 index 000000000..a945a534f --- /dev/null +++ b/package/evilwm/patches/patch-Makefile @@ -0,0 +1,36 @@ +--- evilwm-1.0.1.orig/Makefile 2009-03-30 12:37:06.000000000 +0200 ++++ evilwm-1.0.1/Makefile 2010-01-22 17:14:53.000000000 +0100 +@@ -1,11 +1,11 @@ + # If you don't use CC +-CC = gcc ++CC ?= gcc + + # Edit this line if you don't want evilwm to install under /usr. + # Note that $(DESTDIR) is used by the Debian build process. + prefix = $(DESTDIR)/usr + +-XROOT = /usr/X11R6 ++XROOT ?= /usr/X11R6 + INCLUDES = -I$(XROOT)/include + LDPATH = -L$(XROOT)/lib + LIBS = -lX11 +@@ -35,8 +35,8 @@ LIBS += -lXext + # Be sure that libXrandr is in your library search directory (e.g., under + # Solaris, it is in /usr/X11R6/lib, so can be built against with the default + # XPATH above, but won't necessarily be in the library search path). +-DEFINES += -DRANDR +-LIBS += -lXrandr ++#DEFINES += -DRANDR ++#LIBS += -lXrandr + + # Uncomment for mouse support. You probably want this. + DEFINES += -DMOUSE +@@ -71,7 +71,7 @@ distname = evilwm-$(version) + #DEFINES += -DXDEBUG # show some X calls + + DEFINES += -DVERSION=\"$(version)\" $(DEBIAN) +-CFLAGS += $(INCLUDES) $(DEFINES) -Os -Wall ++CFLAGS += $(INCLUDES) $(DEFINES) -Wall + #CFLAGS += $(INCLUDES) $(DEFINES) -g -Wall + CFLAGS += -W -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls + LDFLAGS += $(LDPATH) $(LIBS) |