- Convert to USES+=tk

- STAGE-clean
This commit is contained in:
Pietro Cerutti 2013-11-05 16:14:47 +00:00
parent 859e27122a
commit dd58bbbd8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332863
2 changed files with 15 additions and 7 deletions

View file

@ -15,20 +15,17 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE
WRKSRC= ${WRKDIR}/${DISTNAME}/build
USE_TCL= yes
USE_TCL_BUILD= yes
USE_TK= yes
USE_TK_BUILD= yes
USES+= tk
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--exec-prefix=${STAGEDIR}${PREFIX}
CPPFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|tcl80|tcl${TCL_VER:S/.//}|; \
s|tk80|tk${TK_VER:S/.//}|; \
${REINPLACE_CMD} -e 's|tcl80|tcl${TCL_SHLIB_VER}|; \
s|tk80|tk${TK_SHLIB_VER}|; \
s|^grantpt|XXXgrantpt|;' \
${WRKSRC}/configure

View file

@ -0,0 +1,11 @@
--- configure.orig 2013-11-05 17:12:10.000000000 +0100
+++ configure 2013-11-05 17:12:16.000000000 +0100
@@ -48,7 +48,7 @@
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
+datadir='${exec_prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'