diff options
-rw-r--r-- | x11-toolkits/pure-tk/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile index e9f818b1f854..4eb5dcd7dd39 100644 --- a/x11-toolkits/pure-tk/Makefile +++ b/x11-toolkits/pure-tk/Makefile @@ -10,11 +10,9 @@ DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Basic interface between Pure and Tcl/Tk -LICENSE= BSD +LICENSE= BSD3CLAUSE -USES= pure -USE_TK= 86+ -SHORT_TCL_VER= ${TCL_VER:S/8./8/} +USES= pure tk:86+ MAKE_ARGS+= tclvers=${TCL_VER} @@ -25,8 +23,8 @@ PLIST_FILES= lib/pure/gnocl.pure \ post-patch: ${REINPLACE_CMD} \ -e "s|/usr/include|${LOCALBASE}/include|g" \ - -e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \ - -e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \ + -e "s|-ltcl\$$(tclvers)|-ltcl${TCL_SHLIB_VER}|" \ + -e "s|-ltk\$$(tclvers)|-ltk${TK_SHLIB_VER}|" \ ${WRKSRC}/Makefile NO_STAGE= yes |