diff options
author | perky <perky@FreeBSD.org> | 2006-10-09 15:40:08 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-10-09 15:40:08 +0000 |
commit | 20a737c6e7f8b428d347a7fcc6bb2f8927d8f064 (patch) | |
tree | a163ee1ac011ec5b2661751604732d055661701f /lang/python27 | |
parent | 23d75a3f9728554a43d68e48df5139f406567e63 (diff) | |
download | FreeBSD-ports-20a737c6e7f8b428d347a7fcc6bb2f8927d8f064.zip FreeBSD-ports-20a737c6e7f8b428d347a7fcc6bb2f8927d8f064.tar.gz |
Simple portupgrade doesn't upgrade python correctly, so add a check
and an instruction.
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 8831de9..706e204 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -179,6 +179,13 @@ pre-su-install: .endfor pre-install: + @if [ -f ${PREFIX}/bin/python ]; then \ + ${ECHO_CMD} "=============================="; \ + ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \ + ${ECHO_CMD} "=============================="; \ + ${FALSE}; \ + fi + ${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \ ${AWK} '{ print $$0; } \ /LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST} |