summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-06-16 14:53:56 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-06-16 14:53:56 +0000
commit66adb13649e33710f1cba6d8ed85aadc1141712f (patch)
tree8391a7e9974de232db1bb0c281fd88170fcc7272 /lang
parentConvert to new options framework (diff)
- unbreak WITH_PTH option support
PR: ports/155936 Submitted by: Kalten <kalten@gmx.at> On behalf of: python@
Notes
Notes: svn path=/head/; revision=299408
Diffstat (limited to 'lang')
-rw-r--r--lang/python27/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 2b9458b5b6f6..ccf765ed6be3 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -81,10 +81,10 @@ PLIST_SUB+= IF_DEFAULT="@comment "
.if ${PORT_OPTIONS:MTHREADS}
PLIST_SUB+= THREADS=""
.if ${PORT_OPTIONS:MPTH}
-BROKEN= does not build with PTH enabled
-CONFIGURE_ARGS+= --with-pth
+CONFIGURE_ARGS+= --with-pth --with-system-ffi
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure-pth
-LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth
+LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth \
+ ffi.5:${PORTSDIR}/devel/libffi
_PTH_CPPFLAGS= "-I${LOCALBASE}/include/pth"
_PTH_LDFLAGS= "-L${LOCALBASE}/lib/pth"
CPPFLAGS:= ${_PTH_CPPFLAGS} ${CPPFLAGS}