openbsd-ports/net/mktorrent/patches/patch-BSDmakefile
gonzalo 46a483b4b3 Update for mktorrent to 1.0 with a new implementation:
* Creates a BitTorrent metainfo file from a file or directory in a
simple and fast way.
* Supports multiple trackers.
* Can add a custom comment to the metainfo file.
* Can add the private flag to dissalow DHT and Peer Exchange.
* Can add web seed URLs.
* Hashing can be done multi threaded and supports multiple CPUs.

Change Web and MASTER_SITE, zap some white spaces and change License, and
put myself as maintainer.

Tested on i386 and sparc64.

Ok stsp@ (ex-maintainer) naddy@
2012-07-08 21:23:24 +00:00

13 lines
350 B
Plaintext

$OpenBSD: patch-BSDmakefile,v 1.1 2012/07/08 21:23:24 gonzalo Exp $
--- BSDmakefile.orig Tue Aug 25 15:53:22 2009
+++ BSDmakefile Tue Jun 26 10:57:51 2012
@@ -25,7 +25,7 @@ PREFIX ?= /usr/local
.ifdef USE_PTHREADS
DEFINES += -DUSE_PTHREADS
SRCS := $(SRCS:hash.c=hash_pthreads.c)
-LIBS += -lpthread
+LIBS += -pthread
.endif
.ifdef USE_OPENSSL