summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2000-09-25 18:51:59 +0000
committerskrll <skrll@pkgsrc.org>2000-09-25 18:51:59 +0000
commitcc659d72ecce5f1f67398ab6cd7aaadbacf372d8 (patch)
tree74ec54dd2a8b2fd0fb594a9d75c84ea23ba19f3f /devel
parent89ff97d519741e05e9b897902e200bc7312605a7 (diff)
downloadpkgsrc-cc659d72ecce5f1f67398ab6cd7aaadbacf372d8.tar.gz
Adapt to new bsd.lib.mk
Diffstat (limited to 'devel')
-rw-r--r--devel/avltree/Makefile3
-rw-r--r--devel/avltree/files/patch-sum4
-rw-r--r--devel/avltree/patches/patch-aa76
3 files changed, 63 insertions, 20 deletions
diff --git a/devel/avltree/Makefile b/devel/avltree/Makefile
index 2ed1e503d5a..74927f245f1 100644
--- a/devel/avltree/Makefile
+++ b/devel/avltree/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/01/20 11:15:59 agc Exp $
+# $NetBSD: Makefile,v 1.4 2000/09/25 18:51:59 skrll Exp $
DISTNAME= avltree-1.1
CATEGORIES= devel
@@ -8,7 +8,6 @@ MAINTAINER= wrstuden@netbsd.org
#HOMEPAGE=
MANCOMPRESSED_IF_MANZ= yes
-MAKEFILE= bsd.mk
INSTALL_TARGET= includes install
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/avltree/files/patch-sum b/devel/avltree/files/patch-sum
index f755c00bfc9..881fa7632fd 100644
--- a/devel/avltree/files/patch-sum
+++ b/devel/avltree/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.2 2000/01/20 11:13:05 agc Exp $
+$NetBSD: patch-sum,v 1.3 2000/09/25 18:52:01 skrll Exp $
-MD5 (patch-aa) = f0ce971f89ff795ae4e0312e279c936e
+MD5 (patch-aa) = ace490a36b8d103698cc7bc10b4bea89
diff --git a/devel/avltree/patches/patch-aa b/devel/avltree/patches/patch-aa
index b36775d4f40..0e962efd841 100644
--- a/devel/avltree/patches/patch-aa
+++ b/devel/avltree/patches/patch-aa
@@ -1,18 +1,62 @@
-$NetBSD: patch-aa,v 1.2 2000/01/20 11:13:05 agc Exp $
+$NetBSD: patch-aa,v 1.3 2000/09/25 18:52:03 skrll Exp $
-Use a BSD-style Makefile for this package
-
---- /dev/null Thu Jan 20 10:30:51 2000
-+++ bsd.mk Thu Jan 20 10:51:12 2000
-@@ -0,0 +1,11 @@
-+LIB= avltree
-+SRCS= avltree.c
-+SHLIB_MAJOR=1
-+SHLIB_MINOR=1
-+MAN= avltree.3
-+INCS= avltree.h
-+LIBDIR=${PREFIX}/lib
-+MANDIR=${PREFIX}/man
-+INCSDIR=${PREFIX}/include
-+
+--- Makefile.orig Thu Jan 13 21:04:47 2000
++++ Makefile
+@@ -1,46 +1,15 @@
+-# makefile for: avltree
+-# version: 1.1
+-# Date created: 13 January 2000
+-# Whom: Bill Ross <bross@nas.nasa.gov> <ross@cgl.ucsf.edu>
+-#
+-CC= cc
++LIB= avltree
++SRCS= avltree.c
+
+-all: libavltree.a
++SHLIB_MAJOR= 1
++SHLIB_MINOR= 1
++SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}
+
+-libavltree.a: avltree.o
+- $(AR) r libavltree.a avltree.o
+- strip libavltree.a
++MAN= avltree.3
++INCS= avltree.h
+
+-avltree.o: avltree.c avltree.h
+- $(CC) -c avltree.c
++LIBDIR= ${PREFIX}/lib
++MANDIR= ${PREFIX}/man
++INCSDIR= ${PREFIX}/include
+
+-install: libavltree.a
+- install -c libavltree.a $(PREFIX)/lib
+- install -c avltree.h $(PREFIX)/include
+- gzip -c avltree.3 > $(PREFIX)/man/man3/avltree.3.gz
+-
+-##################
+-# additional stuff for test, benchmark; not installed
+-
+-extras: test bench1 bench2
+-
+-test: test.o libavltree.a
+- $(CC) -o test test.o libavltree.a
+-
+-bench1: avl_bench.o libavltree.a
+- $(CC) -o bench1 avl_bench.o libavltree.a
+-
+-bench2: avl_bench.o db_avl.o
+- $(CC) -o bench2 avl_bench.o db_avl.o
+-
+-bench3: avl_bench.o bp_avl.o
+- $(CC) -o bench3 avl_bench.o bp_avl.o bplus.a
+-
+-#
+-##################
+-
+-clean:
+- @rm -f *.o
+-
+-clobber: clean
+- @rm -f *.a test bench1 bench2 bench3 *.core
+.include <bsd.lib.mk>