summaryrefslogtreecommitdiffstats
path: root/misc/earthview/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/earthview/files/patch-Makefile')
-rw-r--r--misc/earthview/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/earthview/files/patch-Makefile b/misc/earthview/files/patch-Makefile
index 8f17805..cfecbaa 100644
--- a/misc/earthview/files/patch-Makefile
+++ b/misc/earthview/files/patch-Makefile
@@ -11,7 +11,7 @@
earthview: earthview.c
- gcc -Wall -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L/usr/X11R6/lib -lX11 -lm -lz -lbz2
-+ %%CC%% %%CFLAGS%% -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L%%X11BASE%%/lib -lX11 -lm -lz -lbz2
++ %%CC%% %%CFLAGS%% -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L%%LOCALBASE%%/lib -lX11 -lm -lz -lbz2
install:
install -c -s earthview $(BINDIR)
OpenPOWER on IntegriCloud