diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-22 14:11:01 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-22 14:11:01 +0000 |
commit | d7ccab0ccf8d76df0bc4e83986f49e7a46039b29 (patch) | |
tree | 694039a2802ef8243392f958701c66930c60c9c8 /dev-tex/dvi2tty/files | |
parent | Version bump - Memo 2.1 is released (diff) | |
download | gentoo-2-d7ccab0ccf8d76df0bc4e83986f49e7a46039b29.tar.gz gentoo-2-d7ccab0ccf8d76df0bc4e83986f49e7a46039b29.tar.bz2 gentoo-2-d7ccab0ccf8d76df0bc4e83986f49e7a46039b29.zip |
respect cflags and ldflags, fix quoting, tc-export CC, install the README
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'dev-tex/dvi2tty/files')
-rw-r--r-- | dev-tex/dvi2tty/files/dvi2tty-cflags.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-tex/dvi2tty/files/dvi2tty-cflags.patch b/dev-tex/dvi2tty/files/dvi2tty-cflags.patch new file mode 100644 index 000000000000..36d9afb7f1ea --- /dev/null +++ b/dev-tex/dvi2tty/files/dvi2tty-cflags.patch @@ -0,0 +1,30 @@ +Index: dvi2tty-5.3.1/Makefile +=================================================================== +--- dvi2tty-5.3.1.orig/Makefile ++++ dvi2tty-5.3.1/Makefile +@@ -6,11 +6,11 @@ + # This Makefile does not work for MSDOS. Make your + # own one, or compile by hand. + # +-CC = gcc ++CC ?= gcc + +-CFLAGS = -Wall -O2 ++CFLAGS ?= -Wall -O2 + # CFLAGS = -Wall -O2 -fomit-frame-pointer +-LDFLAGS = -s ++#LDFLAGS = -s + + prefix = /usr/local + mandir = $(prefix)/man/man1 +@@ -20,10 +20,8 @@ bindir = $(prefix)/bin + all: dvi2tty disdvi + + dvi2tty:dvi2tty.o dvistuff.o +- $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o + + disdvi:disdvi.o +- $(CC) $(LFLAGS) -o disdvi disdvi.o + + dvi2tty.o: dvi2tty.c dvi2tty.h + |