aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk86/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2018-01-04 08:54:45 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2018-01-04 08:54:45 +0000
commitb6151cde13f9254908a5a58ba9335961d6db1bcf (patch)
treed33500e82ae986966a1590c680d61b3f63343f76 /x11-toolkits/tk86/Makefile
parent2598f47702521bb7eefd475b2be96e46fc2946ae (diff)
downloadports-b6151cde13f9254908a5a58ba9335961d6db1bcf.tar.gz
ports-b6151cde13f9254908a5a58ba9335961d6db1bcf.zip
Notes
Diffstat (limited to 'x11-toolkits/tk86/Makefile')
-rw-r--r--x11-toolkits/tk86/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index 3be1320b6879..bf213f95e624 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tk
PORTVERSION= 8.6.8
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} TCLTK/tcl8_6
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
@@ -64,6 +65,8 @@ post-patch:
s|@TK_BUILD_STUB_LIB_PATH@|@TK_STUB_LIB_PATH@|; \
s|@TK_SRC_DIR@|${PREFIX}/include/tk${TK_VER}|' \
${WRKSRC}/tkConfig.sh.in
+ ${REINPLACE_CMD} -e '/^Requires/s|tcl|tcl${SHORT_TK_VER}|' \
+ ${WRKSRC}/tk.pc.in
regression-test: build
cd ${WRKSRC}; ${MAKE} test