summaryrefslogtreecommitdiffstats
path: root/astro/xrmap/files/patch-earthview_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/xrmap/files/patch-earthview_Makefile')
-rw-r--r--astro/xrmap/files/patch-earthview_Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/xrmap/files/patch-earthview_Makefile b/astro/xrmap/files/patch-earthview_Makefile
index 95b04ad..672d4ea 100644
--- a/astro/xrmap/files/patch-earthview_Makefile
+++ b/astro/xrmap/files/patch-earthview_Makefile
@@ -5,7 +5,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 -I$(X11BASE)/include -L$(X11BASE)/lib -lX11 -lm -lz -lbz2
++ $(CC) $(CFLAGS) -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lX11 -lm -lz -lbz2
install:
install -c -s earthview $(BINDIR)
OpenPOWER on IntegriCloud