aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-20 10:37:45 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-20 10:37:45 +0000
commita64981371b7fd8d31e54e9722d23d5a6c526ecda (patch)
treeabdaa5722c9f0cff0b62481f0ce05a8abc5927e1 /lang
parentafb92ebb99d5a6df23622d206a9b101b49aac463 (diff)
downloadports-a64981371b7fd8d31e54e9722d23d5a6c526ecda.tar.gz
ports-a64981371b7fd8d31e54e9722d23d5a6c526ecda.zip
- Convert to USES=tk
Notes
Notes: svn path=/head/; revision=345211
Diffstat (limited to 'lang')
-rw-r--r--lang/ocs/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/ocs/Makefile b/lang/ocs/Makefile
index 04843bc23eff..419e66196b84 100644
--- a/lang/ocs/Makefile
+++ b/lang/ocs/Makefile
@@ -24,9 +24,7 @@ PLIST= ${WRKDIR}/pkg-plist
ALL_TARGET= install
USE_BZIP2= yes
-USES= gmake perl5
-USE_TCL= yes
-USE_TK= yes
+USES= gmake perl5 tk
HAS_CONFIGURE= yes
USE_XORG= xt
MAKE_JOBS_UNSAFE= yes
@@ -37,9 +35,9 @@ NOT_FOR_ARCHS= amd64 ia64 sparc64
CONFIGURE_ARGS= --prefix="${WRKDIR}" \
--disable-absolute-pathes \
--disable-locallinks \
- --with-tcl-lib="-L${LOCALBASE}/lib -ltcl${TCL_VER:S/.//}" \
+ --with-tcl-lib="-L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}" \
--with-tcl-incl="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \
- --with-tk-lib="-ltk${TK_VER:S/.//}" \
+ --with-tk-lib="-ltk${TK_SHLIB_VER}" \
--with-tk-incl="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include"
MAN1= ocs.1 oc.1 genmake.1