diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:08:08 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:08:08 +0000 |
commit | 46428576856190cdc391130d108c953874831b8e (patch) | |
tree | 3fd76e2c07557ab3e52c8d28d14d453f96e9f847 /x11-toolkits/tk84 | |
parent | b07f78a5a0bd887500cf1ad3b7c0453e4c1b3467 (diff) | |
download | ports-46428576856190cdc391130d108c953874831b8e.tar.gz ports-46428576856190cdc391130d108c953874831b8e.zip |
- Use ${TEST} and ${MAKE} instead of test and make
PR: ports/65091
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=105988
Diffstat (limited to 'x11-toolkits/tk84')
-rw-r--r-- | x11-toolkits/tk84/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile index a506af599cad..db33cc966b00 100644 --- a/x11-toolkits/tk84/Makefile +++ b/x11-toolkits/tk84/Makefile @@ -346,16 +346,13 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \ .include <bsd.port.pre.mk> -.if defined(WITH_THREADS) +pre-everything:: + @if ${TEST} -e "${NONEXISTENT}"; then ${ECHO_MSG} "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure -.endif - -pre-extract: - @if test -e "${NONEXISTENT}"; then echo "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi - post-configure: ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ ${WRKSRC}/tkConfig.sh @@ -367,7 +364,7 @@ post-install: .endif test: - cd ${WRKSRC}; make test + cd ${WRKSRC}; ${MAKE} test ${ECHO_CMD} "package require Tk" | tclsh${TK_VER} ${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER} |