Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 11:59:00 +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: r413020 - in head/devel/tcloo: . files
Message-ID:  <201604111159.u3BBx0kZ026857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Apr 11 11:59:00 2016
New Revision: 413020
URL: https://svnweb.freebsd.org/changeset/ports/413020

Log:
  devel/tcloo: update to 1.0.4 (corresponds to the version in Tcl 8.6.5)
  
  Changelog:
  http://core.tcl.tk/tcloo/timeline?from=release-1.0.2&to=release-1.0.4
  
  Note that there were no meaningful changes in 1.0.3.

Added:
  head/devel/tcloo/files/
  head/devel/tcloo/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/devel/tcloo/Makefile
  head/devel/tcloo/distinfo

Modified: head/devel/tcloo/Makefile
==============================================================================
--- head/devel/tcloo/Makefile	Mon Apr 11 11:29:31 2016	(r413019)
+++ head/devel/tcloo/Makefile	Mon Apr 11 11:59:00 2016	(r413020)
@@ -2,20 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	tcloo
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.4
 CATEGORIES=	devel
-MASTER_SITES=	SF/tcl/TclOO%20Package/${PORTVERSION}/
-DISTNAME=	TclOO${PORTVERSION}
+MASTER_SITES=	http://core.tcl.tk/tcloo/tarball/
+DISTNAME=	TclOO+Package-${FOSSIL_CHECKIN}
 
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	Implementation of TclOO for Tcl 8.5
 
+FOSSIL_CHECKIN=	0a6e9f1ea3
+WRKSRC=		${WRKDIR}/${DISTNAME:S/+/_/}
 USES+=		tcl:85
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
 		--exec-prefix=${PREFIX}
+CFLAGS+=	-fPIC
 
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
+TEST_TARGET=	test
+
 .include <bsd.port.mk>

Modified: head/devel/tcloo/distinfo
==============================================================================
--- head/devel/tcloo/distinfo	Mon Apr 11 11:29:31 2016	(r413019)
+++ head/devel/tcloo/distinfo	Mon Apr 11 11:59:00 2016	(r413020)
@@ -1,2 +1,2 @@
-SHA256 (TclOO1.0.2.tar.gz) = 19265e494ecf3765fcc57744f343f27faccbc4eb66768c9c83dd1c6617022c98
-SIZE (TclOO1.0.2.tar.gz) = 235037
+SHA256 (TclOO+Package-0a6e9f1ea3.tar.gz) = 8b7e573e41037d53b5621fd7c12c21352c458dab15c2d4ca115a8216e49ffb13
+SIZE (TclOO+Package-0a6e9f1ea3.tar.gz) = 242436

Added: head/devel/tcloo/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/tcloo/files/patch-Makefile.in	Mon Apr 11 11:59:00 2016	(r413020)
@@ -0,0 +1,29 @@
+--- Makefile.in.orig	2016-03-01 00:07:14 UTC
++++ Makefile.in
+@@ -42,7 +42,7 @@ DESTDIR		=
+ INSTALL_OPTIONS =
+ INSTALL		= $(SHELL) $(srcdir)/tclconfig/install-sh -c ${INSTALL_OPTIONS}
+ INSTALL_DATA_DIR = ${INSTALL} -d -m 755
+-INSTALL_PROGRAM	= ${INSTALL} -m 555
++INSTALL_PROGRAM	= ${INSTALL} -m 555 -s
+ INSTALL_DATA	= ${INSTALL} -m 444
+ INSTALL_SCRIPT	= ${INSTALL_PROGRAM}
+ INSTALL_LIBRARY	= ${INSTALL_DATA}
+@@ -79,7 +79,7 @@ PKG_CFLAGS=@PKG_CFLAGS@
+ DEFS=@DEFS@ $(PKG_CFLAGS)
+ CPPFLAGS=@CPPFLAGS@
+ LIBS=@PKG_LIBS@ @LIBS@ @MATH_LIBS@
+-PKG_TEST_LIBS=-L. -lTclOOstub$(PACKAGE_VERSION)
++PKG_TEST_LIBS=${PKG_STUB_LIB_FILE}
+ AR=@AR@
+ CFLAGS=@CFLAGS@
+ CYGPATH=@CYGPATH@
+@@ -261,7 +261,7 @@ $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS
+ $(PKG_TEST_LIB_FILE): $(PKG_STUB_LIB_FILE)
+ 	$(MAKE) PKG_TEST_LIB_FILE=dummy PKG_LIB_FILE=$(PKG_TEST_LIB_FILE) \
+ 		PKG_OBJECTS="$(PKG_TEST_OBJECTS)" \
+-		LIBS="$(PKG_TEST_LIBS)" CFLAGS="-DUSE_TCL_STUBS -DUSE_TCLOO_STUBS" \
++		LIBS="$(PKG_TEST_LIBS)" CFLAGS="${SHLIB_CFLAGS} -DUSE_TCL_STUBS -DUSE_TCLOO_STUBS" \
+ 		$(PKG_TEST_LIB_FILE)
+ .c.@OBJEXT@:
+ 	$(COMPILE) -c `$(CYGPATH) $<` -o $@



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