summaryrefslogtreecommitdiff
path: root/misc/astrolog/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/astrolog/files/patch-makefile')
-rw-r--r--misc/astrolog/files/patch-makefile28
1 files changed, 0 insertions, 28 deletions
diff --git a/misc/astrolog/files/patch-makefile b/misc/astrolog/files/patch-makefile
deleted file mode 100644
index 929ff56752e7..000000000000
--- a/misc/astrolog/files/patch-makefile
+++ /dev/null
@@ -1,28 +0,0 @@
---- makefile.orig 2002-04-27 22:48:52.000000000 +0400
-+++ makefile 2012-11-21 12:12:08.000000000 +0400
-@@ -17,6 +17,7 @@
- # edited, is compile each source file, and link them together with the math
- # library, and if applicable, the main X library.
- #
-+.PATH: src
- NAME = astrolog
- OBJ = astrolog.o data.o data2.o general.o io.o\
- calc.o matrix.o charts0.o charts1.o charts2.o charts3.o\
-@@ -28,9 +29,15 @@
- # LIBS = -lm -lX11
- # with Debian Linux and X windows worked
- # LIBS = -lm -L/usr/X11R6/lib -lX11
--LIBS= -lm
-+.if defined(X11)
-+LIBS = -L${LOCALBASE}/lib -lX11 -lm
-+CFLAGS += -Isrc -DX11 -I${LOCALBASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
-+.else
-+LIBS = -lm
-+CFLAGS += -Isrc -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
-+.endif
- #
--CFLAGS = -O -DHPUX_SOURCE
-+#CFLAGS = -O -DHPUX_SOURCE
- #
- # CFLAGS from 5.41 original sources
- # CFLAGS = -g -Aa -DHPUX_SOURCE