svn commit: r345211 - head/lang/ocs

Pietro Cerutti gahr at FreeBSD.org
Thu Feb 20 10:37:46 UTC 2014


Author: gahr
Date: Thu Feb 20 10:37:45 2014
New Revision: 345211
URL: http://svnweb.freebsd.org/changeset/ports/345211
QAT: https://qat.redports.org/buildarchive/r345211/

Log:
  - Convert to USES=tk

Modified:
  head/lang/ocs/Makefile

Modified: head/lang/ocs/Makefile
==============================================================================
--- head/lang/ocs/Makefile	Thu Feb 20 10:34:07 2014	(r345210)
+++ head/lang/ocs/Makefile	Thu Feb 20 10:37:45 2014	(r345211)
@@ -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


More information about the svn-ports-all mailing list