From d7ccab0ccf8d76df0bc4e83986f49e7a46039b29 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 22 Aug 2008 14:11:01 +0000 Subject: 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) --- dev-tex/dvi2tty/files/dvi2tty-cflags.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-tex/dvi2tty/files/dvi2tty-cflags.patch (limited to 'dev-tex/dvi2tty/files') 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 + -- cgit v1.2.3-65-gdbad