/[gentoo-x86]/sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff
Gentoo

Contents of /sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Mon May 9 22:50:10 2005 UTC (14 years, 10 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
 Version bump with some security fixes, thanks to DerCorny for spotting it. Cleaned out old versions.
(Portage version: 2.0.51.21-r1)

1 diff -U 3 -dHrN -- am-orig/makefile am/makefile
2 --- am-orig/makefile 2004-05-09 01:33:05.000000000 +0200
3 +++ am/makefile 2004-05-20 15:15:45.398058040 +0200
4 @@ -1,15 +1,9 @@
5 # Makefile for compiling Mathomatic for UNIX or Linux.
6
7 -CFLAGS = -O -DUNIX
8 -LDFLAGS = -s
9 -LIBS = -lm
10 -
11 -CFLAGS += $(READLINE:1=-DREADLINE)
12 -LIBS += $(READLINE:1=-lreadline -lcurses)
13 -
14 -PREFIX = /usr/local
15 +CFLAGS += -DUNIX -DREADLINE
16 +LIBS = -lreadline -lcurses
17
18 -AOUT =am
19 +AOUT =mathomatic
20 OBJECTS =main.o am.o parse.o cmds.o simplify.o factor.o super.o \
21 unfactor.o diff.o complex.o list.o
22
23 @@ -30,8 +24,9 @@
24 $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(AOUT)
25
26 install: $(AOUT)
27 - install -m 0755 $(AOUT) $(PREFIX)/bin
28 - install -m 0644 am.1 $(PREFIX)/man/man1
29 + install -D -s -m 0755 $(AOUT) $(PREFIX)/usr/bin/$(AOUT)
30 + sed "s:am:mathomatic:g" < am.1 > mathomatic.1
31 + install -D -m 0644 mathomatic.1 $(MANDIR)/man1/mathomatic.1
32 @echo Install completed.
33
34 clean:

  ViewVC Help
Powered by ViewVC 1.1.20