diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-10-28 15:49:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-10-28 15:49:06 +0800 |
commit | 6975a5e164c269291c587dbb6a39ad7fe36455c4 (patch) | |
tree | 135b55a1b0ba92f90069d403a73c770c3da7c236 /lang/tcl82/Makefile | |
parent | da6285bd79f0fcc8829dd1a79b29ba84b8d1e7c8 (diff) | |
download | freebsd-ports-gnome-6975a5e164c269291c587dbb6a39ad7fe36455c4.tar.gz freebsd-ports-gnome-6975a5e164c269291c587dbb6a39ad7fe36455c4.tar.zst freebsd-ports-gnome-6975a5e164c269291c587dbb6a39ad7fe36455c4.zip |
- optimize reinplace to handle symlinked /usr/ports
Diffstat (limited to 'lang/tcl82/Makefile')
-rw-r--r-- | lang/tcl82/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile index dc1c17450d2c..acd56e009f2f 100644 --- a/lang/tcl82/Makefile +++ b/lang/tcl82/Makefile @@ -7,7 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.2.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= lang tcl82 MASTER_SITES= ${MASTER_SITE_TCLTK} MASTER_SITE_SUBDIR= tcl8_2 @@ -16,7 +16,7 @@ DISTNAME= tcl8.2.3 MAINTAINER= ports@FreeBSD.org COMMENT= Tool Command Language -NO_LATEST_LINK= yes +LATEST_LINK= tcl82 WRKSRC= ${WRKDIR}/${DISTNAME}/unix INSTALLS_SHLIB= yes GNU_CONFIGURE= yes @@ -381,8 +381,7 @@ post-extract: post-configure: ${REINPLACE_CMD} \ - -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ - -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ + -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \ ${WRKSRC}/tclConfig.sh .if !defined(WITH_TCL82_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ |