aboutsummaryrefslogtreecommitdiffstats
path: root/astro/saoimage/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'astro/saoimage/files/patch-aa')
-rw-r--r--astro/saoimage/files/patch-aa43
1 files changed, 38 insertions, 5 deletions
diff --git a/astro/saoimage/files/patch-aa b/astro/saoimage/files/patch-aa
index b418a4ecc2ec..050999c21fea 100644
--- a/astro/saoimage/files/patch-aa
+++ b/astro/saoimage/files/patch-aa
@@ -1,5 +1,5 @@
---- makefile.FreeBSD.orig Fri Nov 5 15:57:30 1999
-+++ makefile.FreeBSD Sun Jan 16 23:43:10 2000
+--- makefile.FreeBSD.orig Sat Nov 6 06:57:30 1999
++++ makefile.FreeBSD Mon Feb 28 02:57:59 2000
@@ -36,9 +36,9 @@
# FBCONFIG_2, which is set to the value of IMTOOLRC in the definition of
# the CFLAGS macro below.)
@@ -9,16 +9,49 @@
-IMTRCDIR = $(ROOT)/usr/local/lib/
+SAOBINDIR = $(ROOT)$(PREFIX)/bin/
+SAOMANDIR = $(ROOT)$(PREFIX)/man/manl/
-+IMTRCDIR = $(ROOT)$(PREFIX)/lib/
++IMTRCDIR = $(ROOT)$(PREFIX)/etc/
IMTOOLRC = $(IMTRCDIR)imtoolrc
FIFO_I = $(ROOT)/dev/imt1i
-@@ -76,7 +76,7 @@
+@@ -46,7 +46,7 @@
+ FIFO_LN = $(ROOT)/dev/imt1
+
+ # Compiler specification.
+-CC = cc
++CC ?= cc
+ # Uncomment these two lines to compile with gcc (add any optimizers you wish).
+ #CC = gcc -finline-functions -fdelayed-branch -fstrength-reduce
+ # Delayed branches could win big on RISC: many inner loops have branches
+@@ -76,12 +76,12 @@
# OFLAGS: compiler optimization/debug options.
#OFLAGS = -g -DDEBUG
-OFLAGS = -O2 -m486 -pipe
-+OFLAGS = -O2 -pipe
++#OFLAGS = -O2 -m486 -pipe
# ADFLAGS: architecture-dependent floating point flags, etc.
+ #ADFLAGS = -I/usr/openwin/share/include # ATTENTION: OpenWindows users...
+-ADFLAGS = -I/usr/X11R6/include
++ADFLAGS = -I${X11BASE}/include
+
+ # Libraries that move about or may require special specification.
+ #
+@@ -89,7 +89,7 @@
+ # usual link search path, i.e., it is not in /usr/lib, it may be necessary
+ # to specify its path fully in XLIB.
+
+-XLIB = -L/usr/X11R6/lib -lX11
++XLIB = -L${X11BASE}/lib -lX11
+ #XLIB = -L/usr/X11R6/lib -lX11 # ATTENTION: OpenWindows users...
+ #F77LIB = -lF77 -lI77 -lU77
+ F77LIB = -lf2c
+@@ -106,7 +106,7 @@
+ RM = rm -f
+ SHELL = /bin/sh
+
+-CFLAGS = $(OFLAGS) $(ADFLAGS) $(MFLAGS) $(IFLAGS) -DFBCONFIG_2=\"$(IMTOOLRC)\"
++CFLAGS += $(OFLAGS) $(ADFLAGS) $(MFLAGS) $(IFLAGS) -DFBCONFIG_2=\"$(IMTOOLRC)\"
+
+ # SAOimage libraries that live in subdirectories with their own makefiles.
+ # This definition must be kept in correspondence with the DEPLIBS target.