aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ocs
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-20 18:37:45 +0800
committergahr <gahr@FreeBSD.org>2014-02-20 18:37:45 +0800
commit32acdb0276f1e3ae079e78e74b1096773dae09ea (patch)
treeabdaa5722c9f0cff0b62481f0ce05a8abc5927e1 /lang/ocs
parent7453891fff7f04e086f9d8dea860057ef2bf3cc9 (diff)
downloadfreebsd-ports-gnome-32acdb0276f1e3ae079e78e74b1096773dae09ea.tar.gz
freebsd-ports-gnome-32acdb0276f1e3ae079e78e74b1096773dae09ea.tar.zst
freebsd-ports-gnome-32acdb0276f1e3ae079e78e74b1096773dae09ea.zip
- Convert to USES=tk
Diffstat (limited to 'lang/ocs')
-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