summaryrefslogtreecommitdiff
path: root/devel/libctl
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-12-10 05:54:37 +0000
committerjtb <jtb@pkgsrc.org>2000-12-10 05:54:37 +0000
commite174dd4e942977e1db8bbbc37e0f6e36be78a39c (patch)
treeca14376f64fd0285abcea09c1d0f8cced9030e33 /devel/libctl
parentb30f8a5a5ad7174768ba03e33c837d36f3838672 (diff)
downloadpkgsrc-e174dd4e942977e1db8bbbc37e0f6e36be78a39c.tar.gz
Oops! I forgot to add these back in.
Diffstat (limited to 'devel/libctl')
-rw-r--r--devel/libctl/patches/patch-ab51
-rw-r--r--devel/libctl/patches/patch-ac13
2 files changed, 64 insertions, 0 deletions
diff --git a/devel/libctl/patches/patch-ab b/devel/libctl/patches/patch-ab
new file mode 100644
index 00000000000..95817ff008a
--- /dev/null
+++ b/devel/libctl/patches/patch-ab
@@ -0,0 +1,51 @@
+$NetBSD: patch-ab,v 1.3 2000/12/10 05:54:37 jtb Exp $
+
+--- base/Makefile.in.orig Sat Oct 28 11:38:01 2000
++++ base/Makefile.in
+@@ -7,12 +7,11 @@
+ CPPFLAGS = @CPPFLAGS@ -I.
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+-RANLIB = @RANLIB@
++LIBTOOL= @LIBTOOL@
+ @SET_MAKE@
+ INSTALL = @INSTALL@
+ prefix = @prefix@
+
+-AR = ar
+
+ all: libs
+
+@@ -20,18 +19,17 @@
+ math-utils.scm vector3.scm extern-funcs.scm interaction.scm \
+ matrix3x3.scm simplex.scm
+ OBJECTS = ctl.o
+-LIBNAME = libctl.a
++LIBNAME = libctl
+
+ libs: $(LIBNAME)
+
+-libctl.a: $(OBJECTS)
++libctl: $(OBJECTS)
+ rm -f $@
+- $(AR) r $@ $(OBJECTS)
+- $(RANLIB) $@
++ @$(LIBTOOL) $(CC) -O -o $@.la $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 0:0
+
+ install:
+ $(INSTALL) -d $(prefix)/lib
+- $(INSTALL) -m 0644 $(LIBNAME) $(prefix)/lib
++ @$(LIBTOOL) --mode=install $(INSTALL) $(LIBNAME).la $(prefix)/lib
+ $(INSTALL) -d $(prefix)/include
+ $(INSTALL) -m 0644 ctl.h $(prefix)/include
+ $(INSTALL) -d $(prefix)/share/libctl/base
+@@ -41,7 +39,7 @@
+ $(INSTALL) -m 0644 main.c $(prefix)/share/libctl/base
+
+ .c.o:
+- $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
++ @$(LIBTOOL) $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
+
+ clean:
+- rm -f $(OBJECTS) core $(LIBNAME)
++ rm -rf $(OBJECTS) $(OBJECTS:.o=.lo) core $(LIBNAME).la .libs
diff --git a/devel/libctl/patches/patch-ac b/devel/libctl/patches/patch-ac
new file mode 100644
index 00000000000..14c95c38bf5
--- /dev/null
+++ b/devel/libctl/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2000/12/10 05:54:37 jtb Exp $
+
+--- Makefile.in.orig Sat Oct 28 12:00:42 2000
++++ Makefile.in
+@@ -16,7 +16,7 @@
+ # Subdirectories to make in:
+
+ LIBSUBDIRS = base utils
+-SUBDIRS = $(LIBSUBDIRS) examples
++SUBDIRS = $(LIBSUBDIRS)
+
+ all: all-recursive
+