openbsd-ports/devel/cvsps/patches/patch-Makefile

14 lines
389 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile,v 1.1 2012/07/18 10:42:27 naddy Exp $
--- Makefile.orig Wed Jul 18 00:35:29 2012
+++ Makefile Wed Jul 18 00:36:54 2012
@@ -23,6 +23,9 @@ all: cvsps
cvsps: $(OBJS)
$(CC) -o cvsps $(OBJS) -lz
+.c.o:
+ $(CC) $(CFLAGS) -c -o $@ $<
+
install:
[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
[ -d $(prefix)/share/man/man1 ] || mkdir -p $(prefix)/share/man/man1