openbsd-ports/devel/ctm/patches/patch-ctm_ctm_rmail_Makefile
naddy dbfd750590 Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
2011-06-23 22:50:26 +00:00

17 lines
493 B
Plaintext

$OpenBSD: patch-ctm_ctm_rmail_Makefile,v 1.3 2011/06/23 22:50:27 naddy Exp $
--- ctm/ctm_rmail/Makefile.orig Tue May 28 01:43:38 1996
+++ ctm/ctm_rmail/Makefile Tue Jun 21 07:05:03 2011
@@ -1,9 +1,8 @@
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man/cat
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man
PROG= ctm_rmail
SRCS= ctm_rmail.c error.c
-CFLAGS+= -I/usr/local/include -Wall
-MLINKS+= ctm_rmail.1 ctm_smail.1
+CFLAGS+= -Wall
.include <bsd.prog.mk>