update to 1.2

This commit is contained in:
jasper 2007-01-11 17:42:21 +00:00
parent 062c2346a5
commit d67751f245
3 changed files with 25 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/28 17:22:52 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2007/01/11 17:42:21 jasper Exp $
COMMENT= "C macros to add, find and delete items from a hash"
DISTNAME= uthash-1.1
DISTNAME= uthash-1.2
CATEGORIES= devel
HOMEPAGE= http://uthash.sf.net/

View File

@ -1,4 +1,4 @@
MD5 (uthash-1.1.tar.bz2) = 509074ab17d3a89a49f5b4a659fe55d2
RMD160 (uthash-1.1.tar.bz2) = 6f9a0c18f728ee255344fa772dbb19e4444c61fe
SHA1 (uthash-1.1.tar.bz2) = 082e71508101de15dd65ec445c6ff28f78099b64
SIZE (uthash-1.1.tar.bz2) = 69368
MD5 (uthash-1.2.tar.bz2) = 1e599c8005c77a1c14da195d899ce191
RMD160 (uthash-1.2.tar.bz2) = 9322c7fa8902d2934fd949d9215522cd913ce69e
SHA1 (uthash-1.2.tar.bz2) = 5faf5da28be9d80fb2a4229cb9826a2e2883c528
SIZE (uthash-1.2.tar.bz2) = 74865

View File

@ -1,16 +1,28 @@
$OpenBSD: patch-tests_Makefile,v 1.1.1.1 2006/06/28 17:22:52 jasper Exp $
--- tests/Makefile.orig Wed Jun 28 20:57:17 2006
+++ tests/Makefile Wed Jun 28 20:57:38 2006
@@ -3,11 +3,7 @@ FUNCS = BER SAX FNV OAT JEN JSW
$OpenBSD: patch-tests_Makefile,v 1.2 2007/01/11 17:42:21 jasper Exp $
--- tests/Makefile.orig Wed Nov 22 04:25:44 2006
+++ tests/Makefile Thu Jan 11 17:26:45 2007
@@ -3,19 +3,15 @@ FUNCS = BER SAX FNV OAT JEN JSW
UTILS = bkt
PROGS = test1 test2 test3 test4 test5 test6 test7 test8 test9 \
test10 test11 test12 test13 test14 test15 test16
test10 test11 test12 test13 test14 test15 test16 test17
-CFLAGS = -I$(HASHDIR) -g
-
+CFLAGS += -I$(HASHDIR) -g
-ifeq ($(HASH_DEBUG),1)
-CFLAGS += -DHASH_DEBUG=1
-endif
+CFLAGS += -I$(HASHDIR) -g
-
TESTS=./do_tests
+# gnu make idiom..
# detect Cygwin
-ifneq ($(strip $(shell $(CC) -v 2>&1 |grep "cygwin")),)
- TESTS=./do_tests.cygwin
-endif
-
+#ifneq ($(strip $(shell $(CC) -v 2>&1 |grep "cygwin")),)
+# TESTS=./do_tests.cygwin
+#endif
all: $(PROGS) $(UTILS) $(FUNCS) run_tests