0
0
Fork 0
haikuports/dev-vcs/cvsps/patches/cvsps-2.2b1.patchset

36 lines
711 B
Plaintext

From 7747f8486767294df3ecc2b70a4f62d89782bd17 Mon Sep 17 00:00:00 2001
From: Rene Gollent <rene@gollent.com>
Date: Sat, 19 Sep 2015 23:17:53 -0400
Subject: cvsps: Adjust makefile to include required libs.
diff --git a/Makefile b/Makefile
index 2bbc374..0ff7db6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
MAJOR=2
MINOR=2b1
CC?=gcc
-CFLAGS?=-g -O2 -Wall
+CFLAGS?=-g -O2 -Wall
CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
prefix?=/usr/local
OBJS=\
@@ -18,10 +18,10 @@ OBJS=\
cvs_direct.o\
list_sort.o
-all: cvsps
+all: cvsps
cvsps: $(OBJS)
- $(CC) -o cvsps $(OBJS) -lz
+ $(CC) -o cvsps $(OBJS) -lz -lbsd -lnetwork
install:
[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
--
2.2.2