summaryrefslogtreecommitdiffstats
path: root/games/xdesktopwaves/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdesktopwaves/files/patch-makefile')
-rw-r--r--games/xdesktopwaves/files/patch-makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/xdesktopwaves/files/patch-makefile b/games/xdesktopwaves/files/patch-makefile
index ab57a74a..a4eacbc 100644
--- a/games/xdesktopwaves/files/patch-makefile
+++ b/games/xdesktopwaves/files/patch-makefile
@@ -7,22 +7,22 @@
-CC = gcc
-CFLAGS = -I/usr/X11R6/include -O2
+#CC = gcc
-+CFLAGS += -I$(X11BASE)/include
++CFLAGS += -I$(LOCALBASE)/include
#============================= Linker configuration ============================
-LINK = gcc
-LFLAGS = -L/usr/X11R6/lib
+LINK = $(CC)
-+LFLAGS = -L$(X11BASE)/lib
++LFLAGS = -L$(LOCALBASE)/lib
LIBS = -lm -lX11 -lXext
#============================ Installer configuration ==========================
-BINDIR = /usr/X11R6/bin
-MAN1DIR = /usr/X11R6/man/man1
-+BINDIR = $(X11BASE)/bin
-+MAN1DIR = $(X11BASE)/man/man1
++BINDIR = $(LOCALBASE)/bin
++MAN1DIR = $(LOCALBASE)/man/man1
INSTALL = install
RM = rm -f -v
OpenPOWER on IntegriCloud