--- Makefile.orig 2014-12-22 17:45:41.000000000 +0100 +++ Makefile 2014-12-23 15:06:59.084594830 +0100 @@ -2,6 +2,7 @@ PORTNAME= python27 PORTVERSION= 2.7.9 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} @@ -100,6 +101,10 @@ PLIST_SUB+= NO_NIS="" .endif +.if defined(WITH_OPENSSL_PORT) +CONFIGURE_ARGS+= CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib +.endif + post-patch: @${REINPLACE_CMD} -e \ 's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \