diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-02-16 02:52:55 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-02-16 02:52:55 +0000 |
commit | cb61c9cc0c97d3d87f70b746461ce83ce3f27e5c (patch) | |
tree | 8a11ba0b8afb0410bc33106f768b770165c2f940 /net/cvsync | |
parent | b3ad5130181231603160e23027b07668797c0cd2 (diff) | |
download | ports-cb61c9cc0c97d3d87f70b746461ce83ce3f27e5c.tar.gz ports-cb61c9cc0c97d3d87f70b746461ce83ce3f27e5c.zip |
Notes
Diffstat (limited to 'net/cvsync')
-rw-r--r-- | net/cvsync/Makefile | 3 | ||||
-rw-r--r-- | net/cvsync/files/patch-mk::pthread.mk | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/net/cvsync/Makefile b/net/cvsync/Makefile index 1e1018e4eee7..16d14ce7110d 100644 --- a/net/cvsync/Makefile +++ b/net/cvsync/Makefile @@ -7,7 +7,7 @@ PORTNAME= cvsync PORTVERSION= 0.24.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.cvsync.org/pub/cvsync/ \ ftp://ftp.allbsd.org/pub/cvsync/ @@ -22,6 +22,7 @@ DOCS= doc/COPYRIGHT doc/ChangeLog doc/FAQ doc/TODO EXAMPLES= samples/cvsync.conf samples/cvsyncd.conf \ samples/cvsyncd-NetBSD.conf samples/cvsyncd-OpenBSD.conf +MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" MAKE_FLAGS= OSVER="${OSVERSION}" .if defined(WITH_OPENSSL) diff --git a/net/cvsync/files/patch-mk::pthread.mk b/net/cvsync/files/patch-mk::pthread.mk new file mode 100644 index 000000000000..691ad33c6aff --- /dev/null +++ b/net/cvsync/files/patch-mk::pthread.mk @@ -0,0 +1,24 @@ +--- mk/pthread.mk.orig Fri Oct 31 22:36:21 2003 ++++ mk/pthread.mk Sun Feb 15 18:52:26 2004 +@@ -35,7 +35,7 @@ + + PTHREAD_TYPE ?= native + +-CFLAGS += -D_REENTRANT -D_THREAD_SAFE ++CFLAGS += ${PTHREAD_CFLAGS} + + ifeq (${PTHREAD_TYPE}, native) # native POSIX thread + +@@ -48,11 +48,7 @@ + endif # CYGWIN + + ifeq (${HOST_OS}, FreeBSD) +-ifeq ($(shell ${TEST} ${OSVER} -lt 500016 && ${ECHO} yes), yes) +-LDFLAGS+= -pthread +-else # 500016 +-LIBS += -lc_r +-endif # 500016 ++LIBS += ${PTHREAD_LIBS} + endif # FreeBSD + + ifeq (${HOST_OS}, Linux) |