1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/textproc/yodl/files/patch-aa
Will Andrews 6191a0f6a8 Major overhaul to make this thing work again.
1) New MASTER_SITES.  I put a bunch of them (obtained from the
	   good ole' ftpsearch.ntnu.no) here for redundancy.
	2) Chase checksum.  I was unable to find the original distfile.
	3) Make port respect CC/CFLAGS.
	4) Remove GMAKE now that we respect CC/CFLAGS.
	5) Remove bash dependency now that we can use /bin/sh.
	6) Fix compile warning about malloc.h vs. stdlib.h.

PR:			17150
Submitted by:		Mikhail Teterin <mi@aldan.algebra.com>
Hall of Shame entry:	dburr (for complete disregard)
2000-06-09 01:36:55 +00:00

51 lines
1.6 KiB
Plaintext

--- Makefile Thu Apr 22 17:49:36 1999
+++ Makefile.new Thu Jun 8 21:21:07 2000
@@ -6,16 +6,17 @@
# A `lib' directory under which ...../yodl will be attached, as the
# system-wide include directory for macros of the yodl program?
-LIBDIR=/usr/local/lib
+LOCALBASE?=/usr/local
+LIBDIR=${LOCALBASE}/lib
# To what directory are the yodl program and all shell scripts installed?
-BINDIR = /usr/local/bin
+BINDIR = ${LOCALBASE}/bin
# Where do your man pages go? MANPREFIX is where the subdirs man1, man2 etc.
# are located, CATPREFIX is where subdirs cat1, cat2 etc. are, that's
# where formatted pages go.
-MANPREFIX=/usr/local/man
-CATPREFIX=/usr/local/man
+MANPREFIX=${LOCALBASE}/man
+CATPREFIX=${LOCALBASE}/man
# What's your LaTeX command? The shellscript "yodl2dvi" will run "yodl2tex" and
# your LaTeX-er for you, creating the .dvi file. LaTeX is also used in
@@ -37,13 +38,13 @@
# What's your pager, a-la "less"? Will be used in the "yodl2manless"
# and "yodl2msless" scripts that show groff output in ASCII via a pager.
-LESS = less
+LESS = more
# The C compiler?
-CC = cc
+CC ?= cc
# Compiler flags?
-CFLAGS = -c -O2 -Kalloca
+CFLAGS += -c
# Installation program? If you don't have install, make sure that you state
# something that also strips executables.
@@ -81,7 +82,7 @@
# shell will do too, but I suggest that you get bash if you don't have it
# yet. I have it installed as /bin/sh, lucky me.
# Define the path of your bash below:
-BASH = /bin/bash
+BASH = /bin/sh
# Some systems seem to lack the function strerror() (I've heard of SunOS 4.1.4
# with GCC 2.6). If that's the case, uncomment the following: