aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-05-11 17:44:49 +0800
committermm <mm@FreeBSD.org>2010-05-11 17:44:49 +0800
commit6ee823a8df850c3c03a22b41b97afc935137f542 (patch)
tree93e00ebd0e6de5c14189e31c4ec57a3632cda9b9 /lang
parent8e1cab576e04afd20278632b1d293c4a748c0daf (diff)
downloadfreebsd-ports-gnome-6ee823a8df850c3c03a22b41b97afc935137f542.tar.gz
freebsd-ports-gnome-6ee823a8df850c3c03a22b41b97afc935137f542.tar.zst
freebsd-ports-gnome-6ee823a8df850c3c03a22b41b97afc935137f542.zip
- Update to 1.6.6
- Add dependency on expat
Diffstat (limited to 'lang')
-rw-r--r--lang/xotcl/Makefile9
-rw-r--r--lang/xotcl/distinfo6
-rw-r--r--lang/xotcl/files/patch-Makefile.in30
-rw-r--r--lang/xotcl/files/patch-configure24
-rw-r--r--lang/xotcl/pkg-plist6
5 files changed, 47 insertions, 28 deletions
diff --git a/lang/xotcl/Makefile b/lang/xotcl/Makefile
index a32bf888ba32..272e62ffd6c4 100644
--- a/lang/xotcl/Makefile
+++ b/lang/xotcl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xotcl
-PORTVERSION= 1.6.5
+PORTVERSION= 1.6.6
CATEGORIES?= lang tcl
MASTER_SITES= SF \
http://media.wu-wien.ac.at/download/
@@ -30,6 +30,9 @@ PORTDOCS= *
OPTIONS= ACTIWEB "Include actiweb" on \
TUTORIAL "Install XOTcl tutorial" off
+
+LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
+CONFIGURE_ARGS+= --with-expat=${LOCALBASE}/include,${LOCALBASE}/lib
.else
AOLSERVERBASE?= aolserver
.endif
@@ -72,7 +75,9 @@ CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
--with-tclinclude=${TCL_INCLUDEDIR}/generic/ \
--with-xotclsh
-CONFIGURE_ENV+= TCL_INCLUDEDIR=${TCL_INCLUDEDIR}
+CONFIGURE_ENV+= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
post-patch:
@${REINPLACE_CMD} -e 's|TCLSH_PROG=".*"|TCLSH_PROG="${TCLSH}"|g' \
diff --git a/lang/xotcl/distinfo b/lang/xotcl/distinfo
index c06e1500443b..084b3ab251cb 100644
--- a/lang/xotcl/distinfo
+++ b/lang/xotcl/distinfo
@@ -1,3 +1,3 @@
-MD5 (xotcl-1.6.5.tar.gz) = 7e903c77d9f40cac2605ab84223b4dba
-SHA256 (xotcl-1.6.5.tar.gz) = 2077c9216feadefb62e6bad2529a615c55ba064b3a68e31e4da20b7c875e17de
-SIZE (xotcl-1.6.5.tar.gz) = 1918948
+MD5 (xotcl-1.6.6.tar.gz) = 326502cbaf9959c9cc579ba96f284788
+SHA256 (xotcl-1.6.6.tar.gz) = 40f0eb7068aca0fe344b284019e0570eed928654b95b696805b3796be495c040
+SIZE (xotcl-1.6.6.tar.gz) = 1923067
diff --git a/lang/xotcl/files/patch-Makefile.in b/lang/xotcl/files/patch-Makefile.in
index 3fe90d8d4afc..c049e931ca36 100644
--- a/lang/xotcl/files/patch-Makefile.in
+++ b/lang/xotcl/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig 2007-08-06 13:35:56.000000000 +0200
-+++ Makefile.in 2007-08-13 16:13:07.000000000 +0200
-@@ -262,11 +262,11 @@
+--- Makefile.in.orig 2009-03-04 16:11:13.000000000 +0100
++++ Makefile.in 2010-05-11 10:36:59.435600858 +0200
+@@ -264,11 +264,11 @@
#========================================================================
# This rule installs platform-independent files, such as header files.
#========================================================================
@@ -15,7 +15,7 @@
done;
@echo "Installing Libraries to $(DESTDIR)$(pkglibdir)/"
@for i in $(libdirs) ; do \
-@@ -284,7 +284,7 @@
+@@ -286,7 +286,7 @@
$(INSTALL_DATA) $(src_lib_dir)/$$i $(DESTDIR)$(pkglibdir)/$$i ; \
done;
cat unix/pkgIndex.unix >> $(DESTDIR)$(pkglibdir)/pkgIndex.tcl
@@ -24,7 +24,25 @@
@echo "Installing Applications to $(DESTDIR)$(pkglibdir)/apps/"
@for i in $(appdirs) ; do \
echo " Installing $$i/" ; \
-@@ -543,7 +543,6 @@
+@@ -430,13 +430,15 @@
+ $(CC) -rdynamic -o $@ tclAppInit.o \
+ $(PKG_OBJECTS) \
+ $(CFLAGS) $(TCL_LIB_SPEC) \
+- $(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS)
++ $(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS) \
++ $(LDFLAGS_DEFAULT)
+
+ xowish: tkAppInit.o $(PKG_OBJECTS) $(CONDITIONAL_STUB_OBJECTS)
+ $(CC) -rdynamic -o $@ tkAppInit.o \
+ $(PKG_OBJECTS) \
+ $(CFLAGS) $(TCL_LIB_SPEC) $(TK_LIB_SPEC) \
+- $(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS)
++ $(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS) \
++ $(LDFLAGS_DEFAULT)
+
+ install-shells:
+ @if test -f xotclsh; then \
+@@ -550,7 +552,6 @@
else \
echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
$(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
@@ -32,7 +50,7 @@
fi; \
ext=`echo $$p|sed -e "s/.*\.//"`; \
if test "x$$ext" = "xdll"; then \
-@@ -600,12 +599,12 @@
+@@ -607,12 +608,12 @@
rm -f $(DESTDIR)$(bindir)/$$p; \
done
diff --git a/lang/xotcl/files/patch-configure b/lang/xotcl/files/patch-configure
index 65bca22a1037..04982e3dd889 100644
--- a/lang/xotcl/files/patch-configure
+++ b/lang/xotcl/files/patch-configure
@@ -1,15 +1,11 @@
---- configure.orig 2007-09-22 09:28:35.000000000 +0200
-+++ configure 2007-09-22 09:29:34.000000000 +0200
-@@ -6676,9 +6676,9 @@
- ;;
- esac
- else
-- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then
-- { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5
--echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;}
-+ if test ! -f "${TCL_INCLUDEDIR}/generic/tclInt.h" ; then
-+ { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_INCLUDEDIR}" >&5
-+echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_INCLUDEDIR}" >&2;}
+--- configure.orig 2010-03-06 11:14:38.000000000 +0100
++++ configure 2010-05-11 10:30:25.126687046 +0200
+@@ -7341,7 +7342,7 @@
+ esac
+ result="Using ${TCL_INCLUDES}"
+ else
+- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then
++ if test ! -f "${TCL_INCLUDEDIR}/generic/tclInt.h" ; then
+ { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5
+ echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;}
{ (exit 1); exit 1; }; }
- fi
- fi
diff --git a/lang/xotcl/pkg-plist b/lang/xotcl/pkg-plist
index ac04b4cc8e82..2799b4fd18b6 100644
--- a/lang/xotcl/pkg-plist
+++ b/lang/xotcl/pkg-plist
@@ -64,7 +64,7 @@
%%ACTIWEB%%lib/xotcl%%PORTVERSION%%/apps/actiweb/univ/server.key
%%ACTIWEB%%lib/xotcl%%PORTVERSION%%/apps/actiweb/univ/server.pem
%%ACTIWEB%%lib/xotcl%%PORTVERSION%%/apps/persistence/persistenceTest.xotcl
-%%ACTIWEB%%lib/xotclexpat0.9/libxotclexpat0.9.so
+%%ACTIWEB%%lib/xotclexpat0.9/libxotclexpat.so.1
%%ACTIWEB%%lib/xotclexpat0.9/pkgIndex.tcl
%%ACTIWEB%%lib/xotclsdbm1.2/libxotclsdbm1.2.so
%%ACTIWEB%%lib/xotclsdbm1.2/pkgIndex.tcl
@@ -132,8 +132,8 @@ lib/xotcl%%PORTVERSION%%/lib/trace.xotcl
lib/xotcl%%PORTVERSION%%/lib/upvarcompat.xotcl
lib/xotcl%%PORTVERSION%%/lib/wafecompat.tcl
lib/xotcl%%PORTVERSION%%/lib/xodoc.xotcl
-lib/xotcl%%PORTVERSION%%/libxotcl%%PORTVERSION%%.so
-lib/xotcl%%PORTVERSION%%/libxotclstub%%PORTVERSION%%.a
+lib/xotcl%%PORTVERSION%%/libxotcl.so.1
+lib/xotcl%%PORTVERSION%%/libxotclstub.a
lib/xotcl%%PORTVERSION%%/pkgIndex.tcl
lib/xotcl%%PORTVERSION%%/serialize/RecoveryPoint.xotcl
lib/xotcl%%PORTVERSION%%/serialize/ScriptCreator.xotcl