mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- allow to set TCLBASE
package not changed
This commit is contained in:
parent
986a57262f
commit
f1577acfd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120575
@ -375,13 +375,15 @@ MLINKS= Access.3 Tcl_Access.3 \
|
||||
|
||||
.endif
|
||||
|
||||
TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
|
||||
|
||||
post-extract:
|
||||
${MV} ${WRKDIR}/${DISTNAME}/doc/InitStubs.3 \
|
||||
${WRKDIR}/${DISTNAME}/doc/Tcl_InitStubs.3
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if !defined(WITH_TCL82_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -427,9 +427,11 @@ MLINKS= Access.3 Tcl_Access.3 \
|
||||
|
||||
.endif
|
||||
|
||||
TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if !defined(WITH_TCL83_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -602,9 +602,11 @@ post-patch:
|
||||
|
||||
.endif
|
||||
|
||||
TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if defined(WITHOUT_TCL84_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
Loading…
Reference in New Issue
Block a user