aboutsummaryrefslogtreecommitdiff
path: root/games/scid
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-18 15:28:34 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-18 15:28:34 +0000
commit5ebd2956bc03483486e686c3af5ce7ce25ee0e90 (patch)
tree7871862139d8ec2d5d8eae55ade37ccfa855cc94 /games/scid
parentdb0f6a1ba6a192a5ac7abafba9957cb80f05ded6 (diff)
downloadports-5ebd2956bc03483486e686c3af5ce7ce25ee0e90.tar.gz
ports-5ebd2956bc03483486e686c3af5ce7ce25ee0e90.zip
Notes
Diffstat (limited to 'games/scid')
-rw-r--r--games/scid/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/scid/Makefile b/games/scid/Makefile
index f89503439019..f8c5bd62cd64 100644
--- a/games/scid/Makefile
+++ b/games/scid/Makefile
@@ -9,15 +9,13 @@ MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.3/
MAINTAINER= bsd@volki.at
COMMENT= A free chess database application
-USE_TK= 84+
-INVALID_TCL_VER= 86
-
HAS_CONFIGURE= yes
+USES= gmake tk:84,85
USE_BZIP2= yes
USE_PYTHON= yes
USE_GMAKE= yes
-TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${USE_TCL}
+TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}
CONFIGURE_ARGS= \
BINDIR="${PREFIX}/bin" \
@@ -25,7 +23,7 @@ CONFIGURE_ARGS= \
TCL_VERSION="${TCL_VER}" \
TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \
TCL_LIBRARY="${TCL_LIBRARY}" \
- TK_LIBRARY="${TCL_LIBRARY} -ltk${USE_TK} -lX11" \
+ TK_LIBRARY="${TCL_LIBRARY} -ltk${TK_SHLIB_VER} -lX11" \
OPTIMIZE="${CXXFLAGS} -fno-rtti -fno-exceptions" \
WARNINGS=""