Lines 53-59
BINLINKS_SUB_TMPL= -e 's,smtpd,smtpd%%VERSION%%,'
Link Here
|
53 |
-e 's,(idle|pydoc|python-shared|python),\1%%VERSION%%,' |
53 |
-e 's,(idle|pydoc|python-shared|python),\1%%VERSION%%,' |
54 |
BINLINKS_SUB_PYTHON_VER= ${BINLINKS_SUB_TMPL:S/%%VERSION%%/${PYTHON_VER}/g} |
54 |
BINLINKS_SUB_PYTHON_VER= ${BINLINKS_SUB_TMPL:S/%%VERSION%%/${PYTHON_VER}/g} |
55 |
|
55 |
|
56 |
OPTIONS_DEFINE= THREADS SEM PTH PYMALLOC IPV6 FPECTL EXAMPLES NLS |
56 |
OPTIONS_DEFINE= THREADS SEM PYMALLOC IPV6 FPECTL EXAMPLES NLS |
57 |
OPTIONS_DEFAULT= THREADS UCS4 PYMALLOC IPV6 |
57 |
OPTIONS_DEFAULT= THREADS UCS4 PYMALLOC IPV6 |
58 |
|
58 |
|
59 |
OPTIONS_SINGLE= UCS |
59 |
OPTIONS_SINGLE= UCS |
Lines 84-103
SUB_LIST= SEM=${SEM_MSG}
Link Here
|
84 |
|
84 |
|
85 |
.if ${PORT_OPTIONS:MTHREADS} |
85 |
.if ${PORT_OPTIONS:MTHREADS} |
86 |
PLIST_SUB+= THREADS="" |
86 |
PLIST_SUB+= THREADS="" |
87 |
.if ${PORT_OPTIONS:MPTH} |
|
|
88 |
CONFIGURE_ARGS+= --with-pth --with-system-ffi |
89 |
CONFIGURE_ENV+= ac_cv_pthread=no |
90 |
LIB_DEPENDS+= libpth.so:${PORTSDIR}/devel/pth \ |
91 |
libffi.so:${PORTSDIR}/devel/libffi |
92 |
_PTH_CPPFLAGS= "-I${LOCALBASE}/include/pth" |
93 |
_PTH_LDFLAGS= "-L${LOCALBASE}/lib/pth" |
94 |
CPPFLAGS:= ${_PTH_CPPFLAGS} ${CPPFLAGS} |
95 |
LDFLAGS+= ${_PTH_LDFLAGS} |
96 |
.else |
97 |
CONFIGURE_ARGS+= --with-threads |
87 |
CONFIGURE_ARGS+= --with-threads |
98 |
CFLAGS+= ${PTHREAD_CFLAGS} |
88 |
CFLAGS+= ${PTHREAD_CFLAGS} |
99 |
LDFLAGS+= ${PTHREAD_LIBS} |
89 |
LDFLAGS+= ${PTHREAD_LIBS} |
100 |
.endif |
|
|
101 |
.else |
90 |
.else |
102 |
PLIST_SUB+= THREADS="@comment " |
91 |
PLIST_SUB+= THREADS="@comment " |
103 |
CONFIGURE_ARGS+= --without-threads |
92 |
CONFIGURE_ARGS+= --without-threads |
Lines 150-157
CONFIGURE_ARGS+= --disable-ipv6
Link Here
|
150 |
CONFIGURE_ARGS+= --with-fpectl |
139 |
CONFIGURE_ARGS+= --with-fpectl |
151 |
.endif |
140 |
.endif |
152 |
|
141 |
|
153 |
CONFIGURE_ENV+= OPT="${_PTH_CPPFLAGS}" |
|
|
154 |
|
155 |
post-extract: |
142 |
post-extract: |
156 |
# The distribution tarball for python 2.7 has permission bits for 'others' |
143 |
# The distribution tarball for python 2.7 has permission bits for 'others' |
157 |
# set to 0. Later during install, we copy Tools and Demo to the installed |
144 |
# set to 0. Later during install, we copy Tools and Demo to the installed |