From owner-svn-ports-all@FreeBSD.ORG Wed May 15 09:44:46 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0CEC2B54; Wed, 15 May 2013 09:44:46 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E2A7ECFB; Wed, 15 May 2013 09:44:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4F9ijm1062868; Wed, 15 May 2013 09:44:45 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4F9iiSI062859; Wed, 15 May 2013 09:44:44 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201305150944.r4F9iiSI062859@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 15 May 2013 09:44:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318234 - in head/x11-toolkits/tkshape: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 09:44:46 -0000 Author: gahr Date: Wed May 15 09:44:44 2013 New Revision: 318234 URL: http://svnweb.freebsd.org/changeset/ports/318234 Log: - Fix build with Tcl/Tk 8.6 Reported by: miwi (Tcl/Tk 86 exp-run) Approved by: portmgr Added: head/x11-toolkits/tkshape/files/patch-test-syntax.text (contents, props changed) head/x11-toolkits/tkshape/files/patch-unix-Makefile.in (contents, props changed) Modified: head/x11-toolkits/tkshape/Makefile (contents, props changed) Modified: head/x11-toolkits/tkshape/Makefile ============================================================================== --- head/x11-toolkits/tkshape/Makefile Wed May 15 09:42:00 2013 (r318233) +++ head/x11-toolkits/tkshape/Makefile Wed May 15 09:44:44 2013 (r318234) @@ -35,8 +35,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:C/^tk//1} USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tclconf=${LOCALBASE}/lib/tcl${TCL_VER} \ - --with-tkconf=${LOCALBASE}/lib/tk${TK_VER} +CONFIGURE_ARGS= --with-tclconf=${TCL_LIBDIR} \ + --with-tkconf=${TK_LIBDIR} CONFIGURE_WRKSRC= ${WRKSRC}/unix BUILD_WRKSRC= ${CONFIGURE_WRKSRC} Added: head/x11-toolkits/tkshape/files/patch-test-syntax.text ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/tkshape/files/patch-test-syntax.text Wed May 15 09:44:44 2013 (r318234) @@ -0,0 +1,139 @@ +--- tests/syntax.test.orig 2013-05-13 17:26:43.000000000 +0200 ++++ tests/syntax.test 2013-05-13 17:26:27.000000000 +0200 +@@ -15,20 +15,20 @@ + namespace import ::tcltest::* + } + +-package require shape ++package require Shape + + # top-level error messages + test syntax-1.1 {Shape needs subcommand} { + list [catch { + shape + } msg] $msg +-} {1 "wrong # args: should be \"shape subcommand ?window arg ...?\""} ++} {1 {wrong # args: should be "shape subcommand ?window arg ...?"}} + test syntax-1.2 {Shape subcommand list} { + list [catch { + shape Dummy + } msg] $msg +-} {1 "bad subcommand \"Dummy\": must be\ +- bounds, get, offset, set, update, or version"} ++} {1 {bad subcommand "Dummy": must be\ ++ bounds, get, offset, set, update, or version}} + test syntax-1.3 {Variables were created} { + list [info exist shape_version] [info exist shape_patchLevel] + } {1 1} +@@ -38,7 +38,7 @@ + list [catch { + shape version Dummy + } msg] $msg +-} {1 " wrong # args: should be \"shape version\""} ++} {1 {wrong # args: should be "shape version"}} + test syntax-2.2 {Shape version: result format} { + string is double -strict [shape version] + } {1} +@@ -48,84 +48,84 @@ + list [catch { + shape set + } msg] $msg +-} {1 "wrong # args: should be \"shape set pathName ?options?\""} ++} {1 {wrong # args: should be "shape set pathName ?options?"}} + test syntax-3.2 {Shape set: needs window pathname} { + list [catch { + shape set not-a-window + } msg] $msg +-} {1 "bad window path name \"not-a-window\""} ++} {1 {bad window path name "not-a-window"}} + + # get subcommand + test syntax-4.1 {Shape get: command format} { + list [catch { + shape get + } msg] $msg +-} {1 "wrong # args: should be \"shape get pathName ?-bounding/-clip?\""} ++} {1 {wrong # args: should be "shape get pathName ?-bounding/-clip?"}} + test syntax-4.2 {Shape get: command format} { + list [catch { + shape get ? ? ? + } msg] $msg +-} {1 "wrong # args: should be \"shape get pathName ?-bounding/-clip?\""} ++} {1 {wrong # args: should be "shape get pathName ?-bounding/-clip?"}} + test syntax-4.3 {Shape get: needs window pathname} { + list [catch { + shape get not-a-window + } msg] $msg +-} {1 "bad window path name \"not-a-window\""} ++} {1 {bad window path name "not-a-window"}} + + # update subcommand + test syntax-5.1 {Shape update: command format} { + list [catch { + shape update + } msg] $msg +-} {1 "wrong # args: should be \"shape update pathName operation ?options?\""} ++} {1 {wrong # args: should be "shape update pathName operation ?options?"}} + + # offset subcommand + test syntax-6.1 {Shape offset: command format} { + list [catch { + shape offset + } msg] $msg +-} {1 "wrong # args: should be\ +- \"shape offset pathName ?-bounding/-clip/-both? x y\""} ++} {1 {wrong # args: should be\ ++ "shape offset pathName ?-bounding/-clip/-both? x y"}} + test syntax-6.2 {Shape offset: command format} { + list [catch { + shape offset ? + } msg] $msg +-} {1 "wrong # args: should be\ +- \"shape offset pathName ?-bounding/-clip/-both? x y\""} ++} {1 {wrong # args: should be\ ++ "shape offset pathName ?-bounding/-clip/-both? x y"}} + test syntax-6.3 {Shape offset: command format} { + list [catch { + shape offset ? ? + } msg] $msg +-} {1 "wrong # args: should be\ +- \"shape offset pathName ?-bounding/-clip/-both? x y\""} ++} {1 {wrong # args: should be\ ++ "shape offset pathName ?-bounding/-clip/-both? x y"}} + test syntax-6.4 {Shape offset: command format} { + list [catch { + shape offset ? ? ? ? ? + } msg] $msg +-} {1 "wrong # args: should be\ +- \"shape offset pathName ?-bounding/-clip/-both? x y\""} ++} {1 {wrong # args: should be\ ++ "shape offset pathName ?-bounding/-clip/-both? x y"}} + test syntax-6.5 {Shape offset: needs window pathname} { + list [catch { + shape offset not-a-window 0 0 + } msg] $msg +-} {1 "bad window path name \"not-a-window\""} ++} {1 {bad window path name "not-a-window"}} + + # bounds subcommand + test syntax-7.1 {Shape bounds: command format} { + list [catch { + shape bounds + } msg] $msg +-} {1 "wrong # args: should be \"shape bounds pathName ?-bounding/-clip?\""} ++} {1 {wrong # args: should be "shape bounds pathName ?-bounding/-clip?"}} + test syntax-7.2 {Shape bounds: command format} { + list [catch { + shape bounds ? ? ? + } msg] $msg +-} {1 "wrong # args: should be \"shape bounds pathName ?-bounding/-clip?\""} ++} {1 {wrong # args: should be "shape bounds pathName ?-bounding/-clip?"}} + test syntax-7.3 {Shape bounds: needs window pathname} { + list [catch { + shape bounds not-a-window + } msg] $msg +-} {1 "bad window path name \"not-a-window\""} ++} {1 {bad window path name "not-a-window"}} + + # cleanup + ::tcltest::cleanupTests Added: head/x11-toolkits/tkshape/files/patch-unix-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/tkshape/files/patch-unix-Makefile.in Wed May 15 09:44:44 2013 (r318234) @@ -0,0 +1,11 @@ +--- unix/Makefile.in.orig 2000-09-11 17:10:01.000000000 +0200 ++++ unix/Makefile.in 2013-05-13 17:20:31.000000000 +0200 +@@ -71,7 +71,7 @@ + $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/shapeUnixText.c + # ---------------------------------------------------------------------- + $(SOFILE): $(OBJS) +- ${SHLIB_LD} -o $@ $^ @SHLIB_LD_LIBS@ ++ ${SHLIB_LD} -o $@ $^ @SHLIB_LD_LIBS@ ${TK_LIB_SPEC} ${TCL_LIB_SPEC} ${TK_LIBS} + $(EXEFILE): $(OBJS) tkAppInit.o + $(CC) -o $@ $^ @SHLIB_LD_LIBS@ ${TK_LIB_SPEC} ${TCL_LIB_SPEC} ${TK_LIBS} + # ----------------------------------------------------------------------