mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
- Fix include patch for Python != 2.1
- still boken for python2.2
This commit is contained in:
parent
96e3959204
commit
f252ef5dae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52971
@ -58,10 +58,16 @@ PLIST_SUB+= WITH_TCL=""
|
||||
PLIST_SUB+= WITH_TCL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-patch:
|
||||
@${PERL5} -pi -e "s/= tclsh/=tclsh${TCL_V}/" \
|
||||
${WRKSRC}/../unix/Makefile.in
|
||||
@${PERL5} -pi -e "s=doc/==" ${WRKSRC}/../MetaKit.html
|
||||
.if defined(METAKIT_WITH_PYTHON)
|
||||
${PERL5} -pi -e "s=python2.1=${PYTHON_VERSION}=" \
|
||||
${WRKSRC}/../unix/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(METAKIT_WITH_PYTHON)
|
||||
@ -83,4 +89,4 @@ test:
|
||||
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test-tcl)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user