diff --git a/dev-vcs/cvsps/cvsps-2.2b1.recipe b/dev-vcs/cvsps/cvsps-2.2b1.recipe index edecd6485..b0fae8cba 100644 --- a/dev-vcs/cvsps/cvsps-2.2b1.recipe +++ b/dev-vcs/cvsps/cvsps-2.2b1.recipe @@ -17,6 +17,8 @@ REVISION="1" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" +PATCHES="cvsps-2.2b1.patchset" + PROVIDES=" cvsps$secondaryArchSuffix = $portVersion cmd:cvsps = $portVersion @@ -37,7 +39,7 @@ BUILD_PREREQUIRES=" BUILD() { - CC="gcc -lnetwork" make $jobArgs + make $jobArgs } INSTALL() diff --git a/dev-vcs/cvsps/patches/cvsps-2.2b1.patchset b/dev-vcs/cvsps/patches/cvsps-2.2b1.patchset new file mode 100644 index 000000000..a6f0d5cf9 --- /dev/null +++ b/dev-vcs/cvsps/patches/cvsps-2.2b1.patchset @@ -0,0 +1,35 @@ +From 7747f8486767294df3ecc2b70a4f62d89782bd17 Mon Sep 17 00:00:00 2001 +From: Rene Gollent +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 +