diff options
author | seb <seb@pkgsrc.org> | 2005-08-02 22:37:18 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2005-08-02 22:37:18 +0000 |
commit | 62f5a980a4904e45a4f86b4939e30e76de7538f0 (patch) | |
tree | 4652688656ed8db7456256ee9d0818a405099051 /lang/tcl/patches/patch-ad | |
parent | f28381829b59e10252fd8774f4acd09d20e997ba (diff) | |
download | pkgsrc-62f5a980a4904e45a4f86b4939e30e76de7538f0.tar.gz |
Patches and tuning so the test target runs and pass, at least on
NetBSD/i386 2.0_STABLE and current: set timezone in TEST_ENV, use
libtool to compile shared test modules and account for that in the
Tcl test scripts.
Thanks to jwise@ for the helping hand.
Diffstat (limited to 'lang/tcl/patches/patch-ad')
-rw-r--r-- | lang/tcl/patches/patch-ad | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lang/tcl/patches/patch-ad b/lang/tcl/patches/patch-ad new file mode 100644 index 00000000000..d5bc49cb61e --- /dev/null +++ b/lang/tcl/patches/patch-ad @@ -0,0 +1,52 @@ +$NetBSD: patch-ad,v 1.3 2005/08/02 22:37:18 seb Exp $ + +--- dltest/Makefile.in.orig 2004-09-23 20:04:07.000000000 +0000 ++++ dltest/Makefile.in +@@ -5,11 +5,11 @@ + + TCL_DBGX = @TCL_DBGX@ +-CC = @CC@ ++CC = ${LIBTOOL} --mode=compile @CC@ + LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @DL_LIBS@ @LIBS@ @MATH_LIBS@ + AC_FLAGS = @DEFS@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ +-SHLIB_LD = @SHLIB_LD@ ++SHLIB_LD = ${LIBTOOL} --mode=link cc -module -pipe -rpath ${PREFIX}/lib + SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ +-SHLIB_SUFFIX = @SHLIB_SUFFIX@ ++SHLIB_SUFFIX = .la + SRC_DIR = @srcdir@ + TCL_VERSION= @TCL_VERSION@ +@@ -27,25 +27,26 @@ all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUF + pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c + $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c +- ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${SHLIB_LD_LIBS} ++ ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.lo ${SHLIB_LD_LIBS} + + pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c + $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c +- ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${SHLIB_LD_LIBS} ++ ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.lo ${SHLIB_LD_LIBS} + + pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c + $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c +- ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${SHLIB_LD_LIBS} ++ ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.lo ${SHLIB_LD_LIBS} + + pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c + $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c +- ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${SHLIB_LD_LIBS} ++ ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.lo ${SHLIB_LD_LIBS} + + pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c + $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c +- ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${SHLIB_LD_LIBS} ++ ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.lo ${SHLIB_LD_LIBS} + + clean: +- rm -f *.o config.cache config.log config.status ++ rm -f *.o *.lo config.cache config.log config.status + rm -f lib.exp ../dltest.marker ++ rm -rf .libs + @if test "$(SHLIB_SUFFIX)" != ""; then \ + echo "rm -f *${SHLIB_SUFFIX}" ; \ |