]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/skippy/files/fix-makefile.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / skippy / files / fix-makefile.patch
1 --- skippy-xd-0.5.0/Makefile.old        2005-04-29 03:42:33 +01:00
2 +++ skippy-xd-0.5.0/Makefile    2005-04-29 03:45:21 +01:00
3 @@ -1,17 +1,17 @@
4 -PREFIX = /usr/local
5 -BINDIR = ${PREFIX}/bin
6 +#PREFIX = /usr
7 +#BINDIR = ${PREFIX}/bin
8  
9 -X11PREFIX = /usr/X11R6
10 +#X11PREFIX = /usr/X11R6
11  
12 -CFLAGS += -I${X11PREFIX}/include `pkg-config xft xrender xcomposite xdamage xfixes --cflags` -g -pedantic -Wall
13 -LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `pkg-config xft xrender xcomposite xdamage xfixes --libs`
14 +CFLAGS += `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --cflags` -Wall
15 +LDFLAGS += -lX11 -lm `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --libs`
16  
17  # Disable post-processing effects
18 -# CFLAGS += -DNOEFFECTS
19 +CFLAGS += -DNOEFFECTS
20  
21  # Comment these out to disable Xinerama support
22 -CFLAGS += -DXINERAMA
23 -LDFLAGS += -lXext -lXinerama
24 +#CFLAGS += -DXINERAMA
25 +#LDFLAGS += -lXext -lXinerama
26  
27  # Uncomment this for Xinerama debugging
28  #CFLAGS += -DDEBUG
29 @@ -24,7 +24,7 @@
30  all: skippy-xd${EXESUFFIX}
31  
32  skippy-xd${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS}
33 -       gcc ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS}
34 +       ${CC} ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS}
35  
36  clean:
37         rm -f skippy-xd${EXESUFFIX}