summaryrefslogtreecommitdiff
path: root/lang/tcl-otcl/patches
diff options
context:
space:
mode:
authorminskim <minskim>2006-01-27 01:18:19 +0000
committerminskim <minskim>2006-01-27 01:18:19 +0000
commitad9ae704fcfd80090251438b622c43aaf9301edb (patch)
treee42241c047e0602d09b71e8a60c5000433c1a432 /lang/tcl-otcl/patches
parentb06828d47c818fb4ab5fbf8cdb247d6705294d12 (diff)
downloadpkgsrc-ad9ae704fcfd80090251438b622c43aaf9301edb.tar.gz
Update tcl-otcl to 1.11.
Changes: - Support more platforms: Mac OS X, Debian, and Fedora.
Diffstat (limited to 'lang/tcl-otcl/patches')
-rw-r--r--lang/tcl-otcl/patches/patch-aa30
-rw-r--r--lang/tcl-otcl/patches/patch-ab13
-rw-r--r--lang/tcl-otcl/patches/patch-ac22
3 files changed, 47 insertions, 18 deletions
diff --git a/lang/tcl-otcl/patches/patch-aa b/lang/tcl-otcl/patches/patch-aa
index b43d83621ea..eb712f945c0 100644
--- a/lang/tcl-otcl/patches/patch-aa
+++ b/lang/tcl-otcl/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2002/09/02 23:12:24 seb Exp $
+$NetBSD: patch-aa,v 1.3 2006/01/27 01:18:19 minskim Exp $
---- Makefile.in.orig Thu Nov 2 01:45:59 2000
+--- Makefile.in.orig 2005-10-13 23:45:28.000000000 -0700
+++ Makefile.in
@@ -5,6 +5,7 @@
#
@@ -61,7 +61,7 @@ $NetBSD: patch-aa,v 1.2 2002/09/02 23:12:24 seb Exp $
#
# compile otcl.c and link it into a library archive
-@@ -89,36 +89,25 @@ owish: otkAppInit.c libotcl.a
+@@ -89,19 +89,8 @@ owish: otkAppInit.c libotcl.a
libotcl.a: otcl.c
rm -f libotcl.a otcl.o
@@ -78,35 +78,29 @@ $NetBSD: patch-aa,v 1.2 2002/09/02 23:12:24 seb Exp $
- rm -f libotcl$(SHLIB_SUFFIX) otcl.o so_locations
- $(CC) -c $(CFLAGS) $(DEFINES) $(SHLIB_CFLAGS) $(INCLUDES) otcl.c
- $(SHLIB_LD) -o libotcl$(SHLIB_SUFFIX) otcl.o
-+ ${LIBTOOL} --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) otcl.c
++ ${LIBTOOL} --mode=compile $(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) otcl.c
+ ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} otcl.lo -rpath ${PREFIX}/lib -version-info 0:0
test: otclsh owish
./otclsh lib/test.tcl
- ./owish lib/test.tcl
+@@ -114,12 +103,10 @@ dirs:
+ fi;\
+ done
--install: owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) otcl.h
+-install: owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) otcl.h dirs
- $(INSTALL) owish $(INST_OWISH)
- $(INSTALL) otclsh $(INST_OTCLSH)
- $(INSTALL) libotcl.a $(INST_OLIB)
+- $(RANLIB) $(INST_OLIB)/libotcl.a
- $(INSTALL) libotcl$(SHLIB_SUFFIX) $(INST_OLIBSH)
-+install: owish otclsh libotcl.a otcl.h
++install: owish otclsh libotcl.a otcl.h dirs
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libotcl.la ${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} owish $(INST_OWISH)
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} otclsh $(INST_OTCLSH)
- $(INSTALL) otcl.h $(INST_OINC)
+ $(INSTALL) -m 644 otcl.h $(INST_OINC)
clean:
-- rm -f owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) \
-+ rm -f owish otclsh libotcl.la \
- otcl.o otkAppInit.o otclAppInit.o \
- config.status config.log config.cache \
- core so_locations *.core Makefile
-+ rm -rf .libs
-
- # To be compatible with ns/nam
- distclean: clean
-@@ -146,7 +135,7 @@ srctar:
+@@ -154,7 +141,7 @@ srctar:
depend: $(CFILES)
@echo Making dependencies for $(srcdir){$(CFILES)}
diff --git a/lang/tcl-otcl/patches/patch-ab b/lang/tcl-otcl/patches/patch-ab
new file mode 100644
index 00000000000..400daff9a26
--- /dev/null
+++ b/lang/tcl-otcl/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/01/27 01:18:19 minskim Exp $
+
+--- conf/configure.in.tcl.orig 2005-09-26 21:58:15.000000000 -0700
++++ conf/configure.in.tcl
+@@ -78,7 +78,7 @@ TCL_TCL_PLACES="../lib/tcl$TCL_HI_VERS \
+ $x_includes \
+ /usr/contrib/include \
+ /usr/include"
+-TCL_H_PLACES_D="$d/generic \
++TCL_H_PLACES_D="$d/include/tcl/generic \
+ $d/unix \
+ $d/include/tcl$TCL_HI_VERS \
+ $d/include/tcl$TCL_VERS \
diff --git a/lang/tcl-otcl/patches/patch-ac b/lang/tcl-otcl/patches/patch-ac
new file mode 100644
index 00000000000..22917fc19e1
--- /dev/null
+++ b/lang/tcl-otcl/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2006/01/27 01:18:19 minskim Exp $
+
+--- configure.orig 2005-10-13 23:46:24.000000000 -0700
++++ configure
+@@ -4128,7 +4128,7 @@ TCL_TCL_PLACES="../lib/tcl$TCL_HI_VERS \
+ $x_includes \
+ /usr/contrib/include \
+ /usr/include"
+-TCL_H_PLACES_D="$d/generic \
++TCL_H_PLACES_D="$d/include/tcl/generic \
+ $d/unix \
+ $d/include/tcl$TCL_HI_VERS \
+ $d/include/tcl$TCL_VERS \
+@@ -6478,6 +6478,8 @@ do
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ # Avoid regenerating for rechecks on pkgsrc
++ exit 0
+ ac_cs_recheck=: ;;
+ --version | --vers* | -V )
+ echo "$ac_cs_version"; exit 0 ;;