Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= stunnel |
8 |
PORTNAME= stunnel |
9 |
PORTVERSION= 4.10 |
9 |
PORTVERSION= 4.11 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= security |
10 |
CATEGORIES= security |
12 |
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ |
11 |
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ |
13 |
ftp://stunnel.mirt.net/stunnel/OBSOLETE/ \ |
12 |
ftp://stunnel.mirt.net/stunnel/OBSOLETE/ \ |
Lines 47-59
Link Here
|
47 |
BROKEN= 'The WITH_UCONTEXT, WITH_FORK and WITH_PTHREAD options are mutually exclusive - please specify at most one of them, the default is WITH_PTHREAD' |
46 |
BROKEN= 'The WITH_UCONTEXT, WITH_FORK and WITH_PTHREAD options are mutually exclusive - please specify at most one of them, the default is WITH_PTHREAD' |
48 |
.endif |
47 |
.endif |
49 |
|
48 |
|
50 |
CFLAGS+=-DFORCE_THREADING_MODEL |
|
|
51 |
.if defined(WITH_UCONTEXT) |
49 |
.if defined(WITH_UCONTEXT) |
52 |
CFLAGS+=-DFORCE_UCONTEXT |
50 |
CONFIGURE_ARGS+= --with-threads=ucontext |
53 |
.elif defined(WITH_FORK) |
51 |
.elif defined(WITH_FORK) |
54 |
CFLAGS+=-DFORCE_FORK |
52 |
CONFIGURE_ARGS+= --with-threads=fork |
55 |
.else |
53 |
.else |
56 |
CFLAGS+=-DFORCE_PTHREAD |
54 |
CONFIGURE_ARGS+= CFLAGS=${PTHREAD_CFLAGS} LDFLAGS=${PTHREAD_LIBS} --with-threads=pthread |
57 |
.endif |
55 |
.endif |
58 |
|
56 |
|
59 |
post-patch: |
57 |
post-patch: |