Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 23:26:48 +0900 (JST)
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2960: Update the port(jp-camltk41-1.0):japanese/camltk41.
Message-ID:  <199703121426.XAA15406@kiri.toba-cmt.ac.jp>
Resent-Message-ID: <199703121430.GAA14530@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2960
>Category:       ports
>Synopsis:       Update the port(jp-camltk41-1.0):japanese/camltk41.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 06:30:02 PST 1997
>Last-Modified:
>Originator:     Kazuhiko Kiriyama
>Organization:
Toba National College of Maritime Technology.
                 Department of Electronic Mechanical Engineering
>Release:        FreeBSD 2.2-970205-GAMMA i386
>Environment:
>Description:
	I've updated so as to using new japanese Tcl/Tk port which
	will be send-pred soon by TAGUCHI Takeshi(taguchi@tohoku.iij.ad.jp).

	I put the diff from ports-current(japanese/camltk41) in "Fix:".
>How-To-Repeat:
>Fix:
diff -aurN ../../current/ports/japanese/camltk41/Makefile ./Makefile
--- ../../current/ports/japanese/camltk41/Makefile	Wed Jan 15 17:06:13 1997
+++ ./Makefile	Thu Feb 27 18:11:51 1997
@@ -15,13 +15,12 @@
 
 MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
 
-LIB_DEPENDS=	tcl75jp\\.:${PORTSDIR}/japanese/tcl75 \
-		tk41jp\\.:${PORTSDIR}/japanese/tk41
+LIB_DEPENDS=	tcl76jp\\.:${PORTSDIR}/japanese/tcl76 \
+		tk42jp\\.:${PORTSDIR}/japanese/tk42
 BUILD_DEPENDS=	ocaml:${PORTSDIR}/lang/ocaml
-DEPENDS=	${PORTSDIR}/japanese/tk41
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX} --tk-src-prefix=${PORTSDIR} \
+CONFIGURE_ARGS=	--prefix=${PREFIX} --tcl-version=7.6jp --tk-version=4.2jp \
 		--x-includes=${X11BASE}/include \
 		--with-config=site.config
 USE_GMAKE=	yes
diff -aurN ../../current/ports/japanese/camltk41/patches/patch-aa ./patches/patch-aa
--- ../../current/ports/japanese/camltk41/patches/patch-aa	Mon Jan  6 23:28:56 1997
+++ ./patches/patch-aa	Wed Feb 19 14:47:50 1997
@@ -10,12 +10,12 @@
  ## Location of Tk sources
  # In this directory, there are generic, unix, etc...
 -TK_SRC=/usr/local/src/tk41
-+TK_SRC=${tk_src_prefix}/japanese/tk41/work/tk4.1
++TK_SRC=${prefix}/include/tk${tk_version}
  
  ## Compilation and link flags for Tcl/Tk applications
  ## Preprocessor flags to find tcl.h and tk.h
 -#CPPFLAGS=-I/home/cahors/furuse/sun/include
-+CPPFLAGS="-I${prefix}/include -I${x_includes}"
++CPPFLAGS="-I${prefix}/include/tk${tk_version} -I${prefix}/include/tcl${tcl_version} -I${x_includes}"
  ## ld flags to add path to libtcl*.* and libtk*.*
 -#LDFLAGS=-L/home/cahors/furuse/sun/lib
 +LDFLAGS=-L${prefix}/lib
diff -aurN ../../current/ports/japanese/camltk41/patches/patch-ab ./patches/patch-ab
--- ../../current/ports/japanese/camltk41/patches/patch-ab	Mon Jan  6 23:28:56 1997
+++ ./patches/patch-ab	Wed Feb 19 14:46:33 1997
@@ -1,26 +1,36 @@
---- configure	Mon Dec  2 22:14:09 1996
-+++ configure	Sun Jan  5 09:04:29 1997
-@@ -22,6 +22,7 @@
+--- configure.orig	Mon Dec  2 22:14:09 1996
++++ configure	Wed Feb 19 14:44:02 1997
+@@ -22,6 +22,8 @@
  build=NONE
  cache_file=./config.cache
  exec_prefix=NONE
-+tk_src_prefix=
++tcl_version=
++tk_version=
  host=NONE
  no_create=
  nonopt=NONE
-@@ -376,6 +377,15 @@
+@@ -376,6 +378,24 @@
    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
      x_libraries="$ac_optarg" ;;
 +
-+  -tk-src-prefix | --tk-src-prefix | --tk-src-prefi | --tk-src-pref \
-+  | --tk-src-pre | --tk-src-pr | --tk-src-p | --tk-src- | --tk-src \
-+  | --tk-sr | --tk-s)
-+    ac_prev=tk-src-prefix ;;
-+  -tk-src-prefix=* | --tk-src-prefix=* | --tk-src-prefi=* | --tk-src-pref=* \
-+  | --tk-src-pre=* | --tk-src-pr=* | --tk-src-p=* | --tk-src-=* | --tk-src=* \
-+  | --tk-sr=* | --tk-s=*)
-+    tk_src_prefix="$ac_optarg" ;;
++  -tcl-version | --tcl-version | --tcl-versio | --tcl-versi \
++  | --tcl-vers | --tcl-ver \
++  | --tcl-ve | --tcl-v)
++    ac_prev=tcl-version ;;
++  -tcl-version=* | --tcl-version=* | --tcl-versio=* | --tcl-versi=* \
++  | --tcl-vers=* | --tcl-ver=* \
++  | --tcl-ve=* | --tcl-v=*)
++    tcl_version="$ac_optarg" ;;
++
++  -tk-version | --tk-version | --tk-versio | --tk-versi \
++  | --tk-vers | --tk-ver \
++  | --tk-ve | --tk-v)
++    ac_prev=tk-version ;;
++  -tk-version=* | --tk-version=* | --tk-versio=* | --tk-versi=* \
++  | --tk-vers=* | --tk-ver=* \
++  | --tk-ve=* | --tk-v=*)
++    tk_version="$ac_optarg" ;;
  
    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
      ;;
diff -aurN ../../current/ports/japanese/camltk41/pkg/COMMENT ./pkg/COMMENT
--- ../../current/ports/japanese/camltk41/pkg/COMMENT	Fri Jan  3 21:13:21 1997
+++ ./pkg/COMMENT	Thu Feb 27 17:48:11 1997
@@ -1 +1 @@
-A library for interfacing Objective Caml with Tcl7.5jp/Tk4.1jp.
+A library for interfacing Objective Caml with Tcl7.6jp/Tk4.2jp.
diff -aurN ../../current/ports/japanese/camltk41/pkg/PLIST ./pkg/PLIST
--- ../../current/ports/japanese/camltk41/pkg/PLIST	Fri Jan  3 21:13:21 1997
+++ ./pkg/PLIST	Wed Feb 19 17:44:07 1997
@@ -147,3 +147,5 @@
 lib/ocaml/camltk41/wm.mli
 share/doc/camltk/INSTALL
 share/doc/camltk/README
+@dirrm lib/ocaml/camltk41
+@dirrm share/doc/camltk
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703121426.XAA15406>