summaryrefslogtreecommitdiffstats
path: root/x11/wmdrawer/files/patch-Makefile
blob: f7a6a77944f067dd3f437dd70feb76337c3aeb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- Makefile.orig	Sun Apr 13 13:24:15 2003
+++ Makefile	Sun Apr 13 13:25:41 2003
@@ -9,7 +9,7 @@
 
 DESTDIR =
 
-PREFIX = $(DESTDIR)/usr/local
+PREFIX = /usr/X11R6
 DOCDIR = $(PREFIX)/share/doc
 
 USE_GDKPIXBUF = 1
@@ -19,14 +19,14 @@
 
 ifdef USE_GDKPIXBUF
 PIXBUF_DEF = -DUSE_GDKPIXBUF
-CFLAGS = -O3 -Wall `gdk-pixbuf-config --cflags`
-LDFLAGS = `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib
+CFLAGS = -O -Wall `gdk-pixbuf-config --cflags`
+LDFLAGS = -lgnugetopt `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib
 endif
 
 ifdef USE_GDKPIXBUF2
 PIXBUF_DEF = -DUSE_GDKPIXBUF2
-CFLAGS = -O3  -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
-LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
+CFLAGS = -O  -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
+LDFLAGS = -lgnugetopt `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
 endif
 
 DEFS += $(PIXBUF_DEF)
OpenPOWER on IntegriCloud