Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 1999 14:50:02 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/9453: New port itcl-3.0.1
Message-ID:  <199901142250.OAA24984@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/9453; it has been noted by GNATS.

From: asami@cs.berkeley.edu (Satoshi Asami)
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/9453: New port itcl-3.0.1
Date: Thu, 14 Jan 1999 14:39:29 -0800 (PST)

 Forwarding message sent to wrong address (did someone change the gnats 
 setup or something?)....
 
 Satoshi
 ------- Start of forwarded message -------
 Date: Thu, 14 Jan 1999 20:07:56 -0000 (GMT)
 From: Duncan Barclay <dmlb@ragnet.demon.co.uk>
 To: gnats-admin@freebsd.org
 Subject: Re: ports/9453: New port itcl-3.0.1
 
 
 The previous configuration relied upon the tcl8.0 sources to get tclInt.h. This
 is already installed in /usr/local/include/tcl8.0/generic. The shar file
 below contains replacement patch files which this this version.
 
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #       patches
 #       patches/patch-aa
 #       patches/patch-ab
 #
 echo c - patches
 mkdir -p patches > /dev/null 2>&1
 echo x - patches/patch-aa
 sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
 X--- configure~ Mon Oct 19 21:14:58 1998
 X+++ configure  Thu Jan 14 19:57:33 1999
 X@@ -873,15 +873,8 @@
 X DL_LIBS=$TCL_DL_LIBS
 X LD_FLAGS=$TCL_LD_FLAGS
 X LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
 X+TCL_INC_DIR=${TCL_PREFIX}/include/tcl${TCL_VERSION}
 X 
 X-#--------------------------------------------------------------------
 X-#   Make sure that we can find the Tcl sources, so we can include
 X-#   the "tclInt.h" file.
 X-#--------------------------------------------------------------------
 X-
 X-if test ! -d "$TCL_SRC_DIR"; then
 X-    { echo "configure: error: Can't find Tcl source directory "$TCL_SRC_DIR".
  Itcl can't be built without this directory." 1
 >&2; exit 1; }
 X-fi
 X 
 X #--------------------------------------------------------------------
 X #   If this is gcc, add some extra compile flags.
 X@@ -1011,13 +1004,13 @@
 X         { echo "configure: error: Tcl was not built with --enable-shared"
 1>&2; exit 1; }
 X     fi
 X     SHLIB_CFLAGS="${SHLIB_CFLAGS}"
 X-    eval "ITCL_LIB_FILE=libitcl${VERSION}${SHLIB_SUFFIX}"
 X+    eval "ITCL_LIB_FILE=${ITCL_LIB_FILE}"
 X     ITCL_PKG_FILE="[file join [file dirname \$dir] ${ITCL_LIB_FILE}]"
 X     MAKE_LIB="\$(SHLIB_LD) -o ${ITCL_LIB_FILE} \$(OBJS) ${SHLIB_LD_LIBS}
 \$(LD_SEARCH_FLAGS)"
 X     RANLIB=":"
 X else
 X     SHLIB_CFLAGS=""
 X-    eval "ITCL_LIB_FILE=libitcl${VERSION}.a"
 X+    eval "ITCL_LIB_FILE=${ITCL_LIB_FILE}"
 X     ITCL_PKG_FILE=""
 X     MAKE_LIB="ar cr ${ITCL_LIB_FILE} \${OBJS}"
 X fi
 X@@ -1212,6 +1205,7 @@
 X s%@LD_SEARCH_FLAGS@%$LD_SEARCH_FLAGS%g
 X s%@TCL_VERSION@%$TCL_VERSION%g
 X s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
 X+s%@TCL_INC_DIR@%$TCL_INC_DIR%g
 X s%@TCL_LIB_DIR@%$TCL_LIB_DIR%g
 X s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
 X s%@TCL_LIB_FLAG@%$TCL_LIB_FLAG%g
 END-of-patches/patch-aa
 echo x - patches/patch-ab
 sed 's/^X//' >patches/patch-ab << 'END-of-patches/patch-ab'
 X--- Makefile.in~       Wed Aug 12 11:02:00 1998
 X+++ Makefile.in        Thu Jan 14 19:52:54 1999
 X@@ -55,10 +55,12 @@
 X BIN_INSTALL_DIR =     $(INSTALL_ROOT)$(exec_prefix)/bin
 X 
 X # Directory in which to install the include file itcl.h:
 X-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
 X+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/itcl$(VERSION)
 X+GENERIC_INCLUDE_INSTALL_DIR =
 $(INSTALL_ROOT)$(prefix)/include/itcl$(VERSION)/generic
 X+UNIX_INCLUDE_INSTALL_DIR =
 $(INSTALL_ROOT)$(prefix)/include/itcl$(VERSION)/unix
 X 
 X # Top-level directory in which to install manual entries:
 X-MAN_INSTALL_DIR =     $(INSTALL_ROOT)$(prefix)/man
 X+MAN_INSTALL_DIR =     $(INSTALL_ROOT)$(prefix)/share/itcl$(VERSION)/man
 X 
 X # Directory in which to install manual entry for itclsh:
 X MAN1_INSTALL_DIR =    $(MAN_INSTALL_DIR)/man1
 X@@ -75,6 +77,9 @@
 X # get the correct path:
 X TCL_SRC_DIR = @TCL_SRC_DIR@
 X 
 X+# Tcl include dir
 X+TCL_INC_DIR = @TCL_INC_DIR@
 X+
 X # The directory containing the Tcl library archive file appropriate
 X # for this version of Tk:
 X TCL_LIB_DIR = @TCL_LIB_DIR@
 X@@ -115,7 +120,7 @@
 X # "install" around;  better to use the install-sh script that comes
 X # with the distribution, which is slower but guaranteed to work.
 X 
 X-INSTALL = $(TOP_DIR)/../config/install-sh -c
 X+INSTALL =             install -c
 X INSTALL_PROGRAM =       ${INSTALL}
 X INSTALL_DATA =          ${INSTALL} -m 644
 X MKINSTALLDIRS =         $(TOP_DIR)/../config/mkinstalldirs
 X@@ -158,7 +163,7 @@
 X 
 X CC = @CC@
 X CC_SWITCHES = $(CFLAGS) $(SHLIB_CFLAGS) -I$(UNIX_DIR) -I$(GENERIC_DIR) \
 X--I$(TCL_SRC_DIR)/generic $(AC_FLAGS) $(PROTO_FLAGS) $(MEM_DEBUG_FLAGS) \
 X+-I$(TCL_INC_DIR)/generic $(AC_FLAGS) $(PROTO_FLAGS) $(MEM_DEBUG_FLAGS) \
 X -DITCL_LIBRARY=\"$(ITCL_LIBRARY)\"
 X 
 X SRCS =        $(GENERIC_DIR)/itcl_bicmds.c \
 X@@ -178,13 +183,19 @@
 X       itcl_linkage.o itcl_methods.o itcl_migrate.o itcl_objects.o \
 X       itcl_obsolete.o itcl_parse.o itcl_util.o
 X 
 X-all: $(ITCL_LIB_FILE) itclsh
 X+all: $(ITCL_LIB_FILE) libitcl30.a itclsh
 X 
 X @ITCL_LIB_FILE@:  $(OBJS)
 X       rm -f $(ITCL_LIB_FILE)
 X       @MAKE_LIB@
 X+      ln -sf $(ITCL_LIB_FILE) libitcl30.so
 X       $(RANLIB) $(ITCL_LIB_FILE)
 X 
 X+libitcl30.a: $(OBJS)
 X+      rm -f libitcl30.a
 X+      ar cr libitcl30.a $(OBJS)
 X+      ranlib libitcl30.a
 X+
 X itclsh: tclAppInit.o $(ITCL_LIB_FILE)
 X       $(CC) @LD_FLAGS@ tclAppInit.o @ITCL_BUILD_LIB_SPEC@ \
 X               $(LIBS) $(LD_SEARCH_FLAGS) -o itclsh
 X@@ -199,21 +210,28 @@
 X 
 X install: install-binaries install-libraries install-man
 X 
 X-install-binaries: $(ITCL_LIB_FILE) itclsh
 X+install-binaries: $(ITCL_LIB_FILE) libitcl30.a itclsh
 X       @$(MKINSTALLDIRS) $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR)
 X       @echo "Installing $(ITCL_LIB_FILE)"
 X       @$(INSTALL_DATA) $(ITCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(ITCL_LIB_FILE)
 X       @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(ITCL_LIB_FILE))
 X       chmod 555 $(LIB_INSTALL_DIR)/$(ITCL_LIB_FILE)
 X+      @echo "Installing libitcl30.a"
 X+      @$(INSTALL_DATA) libitcl30.a $(LIB_INSTALL_DIR)/libitcl30.a
 X+      @(cd $(LIB_INSTALL_DIR); $(RANLIB) libitcl30.a)
 X+      chmod 555 $(LIB_INSTALL_DIR)/libitcl30.a
 X       @echo "Installing itclsh"
 X       $(INSTALL_PROGRAM) itclsh $(BIN_INSTALL_DIR)/itclsh$(VERSION)
 X       @echo "Installing itclConfig.sh"
 X-      @$(INSTALL_DATA) itclConfig.sh $(LIB_INSTALL_DIR)/itclConfig.sh
 X+      @mkdir -p $(SCRIPT_INSTALL_DIR)
 X+      @$(INSTALL_DATA) itclConfig.sh $(SCRIPT_INSTALL_DIR)/itclConfig.sh
 X 
 X install-libraries:
 X-      @$(MKINSTALLDIRS) $(INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)
 X-      @echo "Installing itcl.h"
 X-      @$(INSTALL_DATA) $(GENERIC_DIR)/itcl.h $(INCLUDE_INSTALL_DIR)
 X+      @$(MKINSTALLDIRS) $(INCLUDE_INSTALL_DIR) $(GENERIC_INCLUDE_INSTALL_DIR)
 $(UNIX_INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)
 X+      @echo "Installing itcl.h and itclInt.h"
 X+      @$(INSTALL_DATA) $(GENERIC_DIR)/itcl.h $(GENERIC_INCLUDE_INSTALL_DIR)
 X+      @$(INSTALL_DATA) $(GENERIC_DIR)/itclInt.h $(GENERIC_INCLUDE_INSTALL_DIR)
 X+      @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/itcl.h
 $(INCLUDE_INSTALL_DIR)/itcl.h
 X       @for i in $(TOP_DIR)/library/*.* $(UNIX_DIR)/tclAppInit.c; \
 X           do \
 X           echo "Installing $$i"; \
 X@@ -227,19 +245,26 @@
 X       @cd $(TOP_DIR)/doc; for i in *.1; \
 X           do \
 X           echo "Installing doc/$$i"; \
 X-          rm -f $(MAN1_INSTALL_DIR)/$$i; \
 X+          rm -f $(MAN1_INSTALL_DIR)/$$i $(MAN1_INSTALL_DIR)/$$i.gz; \
 X           sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
 X-                  $$i > $(MAN1_INSTALL_DIR)/$$i; \
 X-          chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
 X+                  $$i | gzip -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
 X+          chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
 X           done;
 X       @cd $(TOP_DIR)/doc; for i in *.n; \
 X           do \
 X           echo "Installing doc/$$i"; \
 X-          rm -f $(MANN_INSTALL_DIR)/$$i; \
 X+          rm -f $(MANN_INSTALL_DIR)/$$i $(MANN_INSTALL_DIR)/$$i.gz; \
 X           sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
 X-                  $$i > $(MANN_INSTALL_DIR)/$$i; \
 X-          chmod 444 $(MANN_INSTALL_DIR)/$$i; \
 X+                  $$i | gzip -c > $(MANN_INSTALL_DIR)/$$i.gz; \
 X+          chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
 X           done;
 X+      @echo "**********"
 X+      @echo "IMPORTANT:"
 X+      @echo "**********"
 X+      @echo "itclConfig.sh in $(SCRIPT_INSTALL_DIR)/itclConfig.sh"
 X+      @echo "itcl.h        in $(INCLUDE_INSTALL_DIR)/itcl.h"
 X+      @echo "There are NOT default place, but good place to avoid"
 X+      @echo "conflicting with another version of [incr] Tcl/Tks."
 X 
 X Makefile: $(UNIX_DIR)/Makefile.in
 X       $(SHELL) config.status
 END-of-patches/patch-ab
 exit
 
 
 - ---
 ________________________________________________________________________
 Duncan Barclay          | God smiles upon the little children,
 dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned.
 ________________________________________________________________________
 ------- End of forwarded message -------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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