Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 09:08:58 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352475 - in head/lang/tcl86: . files
Message-ID:  <201404280908.s3S98wte040711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Apr 28 09:08:58 2014
New Revision: 352475
URL: http://svnweb.freebsd.org/changeset/ports/352475
QAT: https://qat.redports.org/buildarchive/r352475/

Log:
  - Fix packaging with non-standard OPTIONS

Modified:
  head/lang/tcl86/files/patch-unix-Makefile.in
  head/lang/tcl86/pkg-plist

Modified: head/lang/tcl86/files/patch-unix-Makefile.in
==============================================================================
--- head/lang/tcl86/files/patch-unix-Makefile.in	Mon Apr 28 08:57:57 2014	(r352474)
+++ head/lang/tcl86/files/patch-unix-Makefile.in	Mon Apr 28 09:08:58 2014	(r352475)
@@ -1,5 +1,5 @@
 --- Makefile.in.orig	2013-09-19 22:17:13.000000000 +0200
-+++ Makefile.in	2013-09-20 09:14:56.000000000 +0200
++++ Makefile.in	2014-04-28 10:32:43.000000000 +0200
 @@ -54,6 +54,8 @@
  
  # Directory in which to install the include file tcl.h:
@@ -93,7 +93,7 @@
  	    do \
  	    if [ ! -d "$$i" ] ; then \
  		echo "Making directory $$i"; \
-@@ -822,7 +834,13 @@
+@@ -822,7 +834,22 @@
  		else true; \
  		fi; \
  	    done;
@@ -102,13 +102,34 @@
 +	@for i in $(TOP_DIR)/library/encoding/*.enc ; do \
 +		$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
 +	done;
++	@echo "Installing library files to $(SCRIPT_INSTALL_DIR)/";
++	@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \
++		$(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \
++	    do \
++	    $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
++	    done;
++	@echo "Customizing tcl module path"; \
++	    echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
++	    "$(SCRIPT_INSTALL_DIR)"/tm.tcl;
 +
 +install-modules: libraries
 +	@for i in opt0.4 http1.0 platform; \
  	    do \
  	    if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
  		echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
-@@ -842,31 +860,29 @@
+@@ -830,43 +857,26 @@
+ 		else true; \
+ 		fi; \
+ 	    done;
+-	@echo "Installing library files to $(SCRIPT_INSTALL_DIR)/";
+-	@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \
+-		$(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \
+-	    do \
+-	    $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
+-	    done;
+ 	@echo "Installing package http1.0 files to $(SCRIPT_INSTALL_DIR)/http1.0/";
+ 	@for i in $(TOP_DIR)/library/http1.0/*.tcl ; \
+ 	    do \
  	    $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \
  	    done;
  	@echo "Installing package http 2.8.7 as a Tcl Module";
@@ -124,31 +145,28 @@
 +	@$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat-1.5.2.tm;
  	@echo "Installing package tcltest 2.3.6 as a Tcl Module";
 -	@$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.6.tm;
+-
 +	@$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest-2.3.6.tm;
- 
  	@echo "Installing package platform 1.0.12 as a Tcl Module";
 -	@$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.12.tm;
 +	@$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/platform-1.0.12.tm;
  	@echo "Installing package platform::shell 1.1.4 as a Tcl Module";
 -	@$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform/shell-1.1.4.tm;
-+	@$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/platform/shell-1.1.4.tm;
- 
- 	@echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";
- 	@for i in $(TOP_DIR)/library/encoding/*.enc ; do \
- 		$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
- 	done;
+-
+-	@echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";
+-	@for i in $(TOP_DIR)/library/encoding/*.enc ; do \
+-		$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
+-	done;
 -	@if [ -n "$(TCL_MODULE_PATH)" -a -f $(TOP_DIR)/library/tm.tcl ]; then \
 -	    echo "Customizing tcl module path"; \
 -	    echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \
 -	        "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
 -	fi
-+	@echo "Customizing tcl module path"; \
-+	    echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
-+	    "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
++	@$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/platform/shell-1.1.4.tm;
  
  install-tzdata:
  	@for i in tzdata; \
-@@ -941,7 +957,7 @@
+@@ -941,7 +951,7 @@
  	done
  
  install-headers:
@@ -157,7 +175,7 @@
  	    do \
  	    if [ ! -d "$$i" ] ; then \
  		echo "Making directory $$i"; \
-@@ -950,14 +966,21 @@
+@@ -950,14 +960,21 @@
  		fi; \
  	    done;
  	@echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";

Modified: head/lang/tcl86/pkg-plist
==============================================================================
--- head/lang/tcl86/pkg-plist	Mon Apr 28 08:57:57 2014	(r352474)
+++ head/lang/tcl86/pkg-plist	Mon Apr 28 09:08:58 2014	(r352475)
@@ -1693,4 +1693,3 @@ libdata/pkgconfig/tcl.pc
 @dirrm include/tcl%%TCL_VER%%/unix
 @dirrm include/tcl%%TCL_VER%%/generic
 @dirrm include/tcl%%TCL_VER%%
-



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