openbsd-ports/mail/hypermail/patches/patch-src-Makefile.in
form ba0f03fe0b Hypermail is a program that takes a file of mail messages in UNIX mailbox
format and generates a set of cross-referenced HTML documents. Each file that
is created represents a separate message in the mail archive and contains
links to other articles, so that the entire archive can be browsed in a
number of ways by following links. Archives generated by Hypermail can be
incrementally updated, and Hypermail is set by default to only update
archives when changes are detected.
2000-05-24 09:27:55 +00:00

27 lines
951 B
Plaintext

# $OpenBSD: patch-src-Makefile.in,v 1.1.1.1 2000/05/24 09:27:55 form Exp $
--- src/Makefile.in.orig Tue Nov 23 03:37:06 1999
+++ src/Makefile.in Wed May 24 15:14:11 2000
@@ -27,7 +27,7 @@
#WNOERROR=-Werror
#WARNINGS=$(WNOERROR) -ansi -pedantic -Wall -Wtraditional -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Dlint
-CFLAGS=@CFLAGS@ $(WARNINGS)
+CFLAGS?=@CFLAGS@ $(WARNINGS)
YACC=@YACC@
NETLIBS=@LIBS@
LDFLAGS=@LDFLAGS@
@@ -70,9 +70,9 @@
$(YACC) getdate.y
@mv -f y.tab.c getdate.c
-install: all
- @if [ ! -d $(bindir) ]; then mkdir -p $(bindir); fi
- $(INSTALL_PROG) -s -c -m 0755 hypermail$(SUFFIX) $(bindir)
+install:
+ @if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi
+ $(INSTALL_PROG) -s -c -m 0755 hypermail$(SUFFIX) $(DESTDIR)$(bindir)/hypermail
mail.install:
@if [ ! -d $(cgidir) ]; then mkdir -p $(cgidir); fi