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 | |
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')
-rw-r--r-- | lang/tcl82/Makefile | 7 | ||||
-rw-r--r-- | lang/tcl83/Makefile | 5 | ||||
-rw-r--r-- | lang/tcl84/Makefile | 5 |
3 files changed, 7 insertions, 10 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}|' \ diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile index 57847b086bfa..30a3b9fd3753 100644 --- a/lang/tcl83/Makefile +++ b/lang/tcl83/Makefile @@ -7,7 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.3.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang tcl83 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl @@ -429,8 +429,7 @@ MLINKS= Access.3 Tcl_Access.3 \ 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_TCL83_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile index 77d7ecf946a0..f4af83011e75 100644 --- a/lang/tcl84/Makefile +++ b/lang/tcl84/Makefile @@ -7,7 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.4.6 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang tcl84 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -604,8 +604,7 @@ post-patch: 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(WITHOUT_TCL84_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ |