summaryrefslogtreecommitdiffstats
path: root/devel/tcl-trf
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2004-07-12 17:56:58 +0000
committermi <mi@FreeBSD.org>2004-07-12 17:56:58 +0000
commit7b4659f11e690bfe5ad4cf96b1b7a55a9f998b21 (patch)
treec69716ee67c65ab697328a8f8a1408e7c70045d9 /devel/tcl-trf
parent0a5b4c832c50608e2b6dda3d526b1535cd3b2ecb (diff)
downloadFreeBSD-ports-7b4659f11e690bfe5ad4cf96b1b7a55a9f998b21.zip
FreeBSD-ports-7b4659f11e690bfe5ad4cf96b1b7a55a9f998b21.tar.gz
Don't compile haval.1996/haval.c separately, but as part of the top
haval.c (as in vendor's code). This works around weirdness in vendor's endianness-determining pre-processor code and unbreaks sparc64. Much rejoicing...
Diffstat (limited to 'devel/tcl-trf')
-rw-r--r--devel/tcl-trf/Makefile4
-rw-r--r--devel/tcl-trf/files/patch-haval4
-rw-r--r--devel/tcl-trf/files/patch-mkin20
3 files changed, 2 insertions, 26 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index da03548..0ebac3a 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -82,10 +82,6 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "sparc64"
-BROKEN= "Fails testsuite during build"
-.endif
-
SHLIB_NAME= libTrf2.so.1
SHLIB_LINK= ${SHLIB_NAME:C/\.so\..*/.so/}
diff --git a/devel/tcl-trf/files/patch-haval b/devel/tcl-trf/files/patch-haval
index 37f3a4d..f6527b0 100644
--- a/devel/tcl-trf/files/patch-haval
+++ b/devel/tcl-trf/files/patch-haval
@@ -52,7 +52,7 @@
- *
* MDHaval_Update --
*
-@@ -145,63 +116,2 @@
+@@ -145,63 +116,3 @@
haval_hash ((CTX_TYPE*) context, &buf, 1);
}
-
@@ -115,4 +115,4 @@
- * External code from here on.
- */
-
--#include "haval.1996/haval.c" /* THREADING: import of one constant var, read-only => safe */
+ #include "haval.1996/haval.c" /* THREADING: import of one constant var, read-only => safe */
diff --git a/devel/tcl-trf/files/patch-mkin b/devel/tcl-trf/files/patch-mkin
index 9b2255f..fe288c5 100644
--- a/devel/tcl-trf/files/patch-mkin
+++ b/devel/tcl-trf/files/patch-mkin
@@ -13,12 +13,6 @@
- $(TRF_GENSRCDIR)/loadman.c \
$(TRF_GENSRCDIR)/init.c \
$(TRF_GENSRCDIR)/registry.c \
-@@ -82,4 +81,5 @@
- $(TRF_GENSRCDIR)/md5dig.c \
- $(TRF_GENSRCDIR)/haval.c \
-+ $(TRF_GENSRCDIR)/haval.1996/haval.c \
- $(TRF_GENSRCDIR)/sha.c \
- $(TRF_GENSRCDIR)/adler.c \
@@ -123,7 +123,5 @@
$(TRF_COMPRESS_OBJ)
@@ -28,12 +22,6 @@
+TRF_BASE_OBJ = @DL_OBJS@ \
init.$(OBJEXT) \
registry.$(OBJEXT) \
-@@ -157,4 +155,5 @@
- md5dig.$(OBJEXT) \
- haval.$(OBJEXT) \
-+ haval-1996.$(OBJEXT) \
- sha.$(OBJEXT) \
- adler.$(OBJEXT) \
@@ -191,5 +190,5 @@
#========================================================================
@@ -69,14 +57,6 @@
+test: $(Trf_LIB_FILE)
LD_LIBRARY_PATH="$(srcdir):../tea/:$(ZLIB_LIB_DIR):$(SSL_LIB_DIR)"; \
export LD_LIBRARY_PATH; \
-@@ -612,4 +611,7 @@
- $(COMPILE) -c `@CYGPATH@ $(TRF_GENSRCDIR)/haval.c` -o $@
-
-+haval-1996.o: $(TRF_GENSRCDIR)/haval.1996/haval.c
-+ $(COMPILE) -c `@CYGPATH@ $(TRF_GENSRCDIR)/haval.1996/haval.c` -o $@
-+
- sha.$(OBJEXT): $(TRF_GENSRCDIR)/sha.c
- $(COMPILE) -c `@CYGPATH@ $(TRF_GENSRCDIR)/sha.c` -o $@
@@ -755,5 +757,5 @@
done
if test "x$(MAKE_LIB)" = "x$(MAKE_SHARED_LIB)"; then \
OpenPOWER on IntegriCloud