diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-08 06:10:40 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-08 06:10:40 +0000 |
commit | f7a6d4f0f6958f9c594a270c36af1f2482282566 (patch) | |
tree | 75813616c87bfdd7b796ac6f74f9725d42b11f8b /math | |
parent | 19168c929f425372483973e27f864396211a7bc7 (diff) | |
download | pkgsrc-f7a6d4f0f6958f9c594a270c36af1f2482282566.tar.gz |
Use bsd.lib.mk for building shared libs.
Diffstat (limited to 'math')
-rw-r--r-- | math/randlib/Makefile | 6 | ||||
-rw-r--r-- | math/randlib/files/Makefile | 19 | ||||
-rw-r--r-- | math/randlib/files/patch-sum | 3 | ||||
-rw-r--r-- | math/randlib/patches/patch-aa | 19 | ||||
-rw-r--r-- | math/randlib/pkg/PLIST | 5 |
5 files changed, 26 insertions, 26 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile index 66cb91e77f0..caf3bb95db0 100644 --- a/math/randlib/Makefile +++ b/math/randlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/11/26 17:50:22 jtb Exp $ +# $NetBSD: Makefile,v 1.2 2001/02/08 06:10:40 jtb Exp $ DISTNAME= randlib.c-1.3 PKGNAME= randlib-1.3 @@ -8,12 +8,8 @@ MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/ MAINTAINER= jtb@netbsd.org HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/page_2.html -USE_LIBTOOL= YES WRKSRC= ${WRKDIR}/randlib.c/src -post-patch: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} - post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/randlib ${INSTALL_DATA} ${WRKSRC}/../README ${WRKSRC}/../doc/* \ diff --git a/math/randlib/files/Makefile b/math/randlib/files/Makefile deleted file mode 100644 index 08bf3ee9e28..00000000000 --- a/math/randlib/files/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -LIB = randlib -LIBDIR = ${PREFIX}/lib - -OBJS = com.o randlib.o linpack.o - -all: lib$(LIB).la - -lib$(LIB).la: $(OBJS) - $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS:.o=.lo) \ - -lm -rpath $(LIBDIR) -version-info 0:0 - -.c.o: - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $*.c - -install: lib$(LIB).la - $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR) - -clean: - rm -rf *.o *.lo .libs lib$(LIB).la diff --git a/math/randlib/files/patch-sum b/math/randlib/files/patch-sum new file mode 100644 index 00000000000..3d8efb33115 --- /dev/null +++ b/math/randlib/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2001/02/08 06:10:40 jtb Exp $ + +MD5 (patch-aa) = 8e6df22bdaad1fc4cd1a094c41bbce6b diff --git a/math/randlib/patches/patch-aa b/math/randlib/patches/patch-aa new file mode 100644 index 00000000000..4bba225b473 --- /dev/null +++ b/math/randlib/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1 2001/02/08 06:10:41 jtb Exp $ + +--- /dev/null Thu Feb 8 06:06:37 2001 ++++ Makefile +@@ -0,0 +1,14 @@ ++LIB= randlib ++ ++SHLIB_MAJOR=0 ++SHLIB_MINOR=0 ++ ++LIBDIR=${PREFIX}/lib ++ ++NOLINT=1 ++ ++SRCS = com.c randlib.c linpack.c ++ ++INCS= randlib.h ++ ++.include <bsd.lib.mk> diff --git a/math/randlib/pkg/PLIST b/math/randlib/pkg/PLIST index 77c030adef0..06c8b315c62 100644 --- a/math/randlib/pkg/PLIST +++ b/math/randlib/pkg/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.3 2001/01/04 15:10:49 agc Exp $ +@comment $NetBSD: PLIST,v 1.4 2001/02/08 06:10:41 jtb Exp $ include/randlib.h lib/librandlib.a -lib/librandlib.la lib/librandlib.so lib/librandlib.so.0 lib/librandlib.so.0.0 +lib/librandlib_p.a +lib/librandlib_pic.a share/doc/randlib/Basegen.c.doc share/doc/randlib/README share/doc/randlib/randlib.c.chs |