summaryrefslogtreecommitdiff
path: root/mpage-make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mpage-make.patch')
-rw-r--r--mpage-make.patch29
1 files changed, 10 insertions, 19 deletions
diff --git a/mpage-make.patch b/mpage-make.patch
index d5c8bf7..77fd69c 100644
--- a/mpage-make.patch
+++ b/mpage-make.patch
@@ -1,34 +1,25 @@
-diff -urN mpage-2.4.orig/Makefile mpage-2.4/Makefile
---- mpage-2.4.orig/Makefile Thu Sep 5 00:20:45 1996
-+++ mpage-2.4/Makefile Sat Feb 26 18:37:35 2000
-@@ -29,7 +29,7 @@
-
- # Set this to an ANSI compatible C compiler (preferably gcc)
- #CC=cc
--CC=gcc
-+#CC=gcc
-
-
- #
-@@ -48,10 +48,10 @@
+--- mpage-2.5.8/Makefile.orig 2023-05-02 23:53:09.000000000 +0200
++++ mpage-2.5.8/Makefile 2024-05-29 18:42:14.723401933 +0200
+@@ -57,11 +57,10 @@ PAGESIZE=A4
SPOOL_TYPE=BSD_SPOOLER
# PREFIX=e:/usr # OS/2 type
-PREFIX=/usr/local
-+PREFIX=/usr/
+-#PREFIX=/usr
++PREFIX=/usr
BINDIR=$(PREFIX)/bin
- LIBDIR=$(PREFIX)/lib
+ LIBDIR=$(PREFIX)/share
-MANDIR=$(PREFIX)/man/man1
+MANDIR=$(PREFIX)/share/man/man1
-
- # Unix extensions
-@@ -84,7 +84,7 @@
+ #
+ # A default encoding is given in encoding.h. Setting ENCODING=1 will
+@@ -114,7 +113,7 @@ O = .o
# If you are using gcc, you probably don't need to change anything here.
# Linux:
-CFLAGS = -O2 -s $(DEFS) -Wall
-+CFLAGS = ${OPT_FLAGS} -s $(DEFS) -Wall
++CFLAGS = ${OPT_FLAGS} $(DEFS) -Wall
# AIX (xlC on aix 4):
#CFLAGS = -O2 -s $(DEFS)