openbsd-ports/devel/ctm/patches/patch-ctm_ctm_Makefile
2010-04-03 19:39:50 +00:00

27 lines
741 B
Plaintext

$OpenBSD: patch-ctm_ctm_Makefile,v 1.3 2010/04/03 19:39:50 naddy Exp $
--- ctm/ctm/Makefile.orig Tue May 28 09:47:37 1996
+++ ctm/ctm/Makefile Sat Apr 3 21:03:52 2010
@@ -9,18 +9,14 @@
# $Id: patch-ctm_ctm_Makefile,v 1.3 2010/04/03 19:39:50 naddy Exp $
#
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man/cat
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/cat
PROG= ctm
NOTYET= ctm_ed.c
SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \
- ctm_syntax.c ctm_ed.c
-LDADD+= -L/usr/local/lib -lmd
-DPADD+= ${LIBMD}
-MAN1= ctm.1
-MAN5= ctm.5
-CFLAGS+= -I/usr/local/include -Wall
+ ctm_syntax.c ctm_ed.c ctm_passb.c
+MAN= ctm.1 ctm.5
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"