Changeset View
Changeset View
Standalone View
Standalone View
lang/python27/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= python27 | PORTNAME= python27 | ||||
PORTVERSION= 2.7.9 | PORTVERSION= 2.7.10 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= lang python ipv6 | CATEGORIES= lang python ipv6 | ||||
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} | MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} | ||||
DISTNAME= Python-${PORTVERSION} | DISTNAME= Python-${PORTVERSION} | ||||
DIST_SUBDIR= python | DIST_SUBDIR= python | ||||
MAINTAINER= python@FreeBSD.org | MAINTAINER= python@FreeBSD.org | ||||
COMMENT= Interpreted object-oriented programming language | COMMENT= Interpreted object-oriented programming language | ||||
▲ Show 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900 | CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900 | ||||
.endif | .endif | ||||
# See http://bugs.freebsd.org/115940 and http://bugs.freebsd.org/193650 | # See http://bugs.freebsd.org/115940 and http://bugs.freebsd.org/193650 | ||||
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | .if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | ||||
PLIST_SUB+= NO_NIS="@comment " | PLIST_SUB+= NO_NIS="@comment " | ||||
.else | .else | ||||
PLIST_SUB+= NO_NIS="" | PLIST_SUB+= NO_NIS="" | ||||
.endif | |||||
.if defined(WITH_OPENSSL_PORT) | |||||
CPPFLAGS+= -I${LOCALBASE}/include | |||||
koobs: Rationale needed for this (as its not included in your revision SUMMARY/ proposed commit log… | |||||
Done Inline ActionsThis looks wrong in multiple ways:
antoine: This looks wrong in multiple ways:
- hardcoded /usr/local instead of ${LOCALBASE}
- CPPFLAGS /… | |||||
Done Inline Actions
configure:8550: checking for RAND_egd in -lcrypto brnrd: - Fixed the /usr/local after inspecting portling -AC output.
- Without passing LDFLAGS and… | |||||
LIBS+= -L${LOCALBASE}/lib | |||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \ | 's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \ | ||||
${PATCH_WRKSRC}/Lib/pydoc.py | ${PATCH_WRKSRC}/Lib/pydoc.py | ||||
.if ${PORT_OPTIONS:MSEM} | .if ${PORT_OPTIONS:MSEM} | ||||
@# do not use SEM_EXTRA_PATCHES here, since patch-setup.py overlaps with this one | @# do not use SEM_EXTRA_PATCHES here, since patch-setup.py overlaps with this one | ||||
Show All 16 Lines |
Rationale needed for this (as its not included in your revision SUMMARY/ proposed commit log messages)