aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--converters/uulib/Makefile6
-rw-r--r--converters/uulib/files/patch-aa39
-rw-r--r--converters/uulib/files/patch-ab14
-rw-r--r--converters/uulib/pkg-plist1
4 files changed, 57 insertions, 3 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index 9ce870ea552a..6c511ec942c8 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -3,7 +3,7 @@
# Date Created: 04 Aug 1996
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
-# $Id: Makefile,v 1.6 1997/03/29 21:45:24 obrien Exp $
+# $Id: Makefile,v 1.7 1997/03/29 22:11:59 obrien Exp $
#
DISTNAME= uudeview-0.5.13
@@ -16,7 +16,7 @@ MASTER_SITES= ftp://ftp.uni-frankfurt.de/pub/dist/frank/ \
MAINTAINER= ac199@freenet.hamilton.on.ca
GNU_CONFIGURE= yes
-ALL_TARGET= libuu.a # libuu.so.1.0
+ALL_TARGET= libuu.a libuu.so.1.0
MAN3= uulib.3
DOCFILES+= HISTORY
@@ -31,7 +31,7 @@ DOCFILES+= doc/td-v3.c
DOCFILES+= doc/test.txt
do-install:
- @# ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
/usr/bin/ranlib ${PREFIX}/lib/libuu.a
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
diff --git a/converters/uulib/files/patch-aa b/converters/uulib/files/patch-aa
new file mode 100644
index 000000000000..a8f3f4829631
--- /dev/null
+++ b/converters/uulib/files/patch-aa
@@ -0,0 +1,39 @@
+*** uulib/Makefile.in Mon Oct 14 16:19:18 1996
+--- /devel/ports/new.new.uulib/src/uulib/Makefile.in Sun Feb 9 23:37:42 1997
+***************
+*** 50,56 ****
+ #
+
+ .SUFFIXES:
+! .SUFFIXES: .c .o
+
+ all: libuu.a
+
+--- 50,56 ----
+ #
+
+ .SUFFIXES:
+! .SUFFIXES: .c .o .so
+
+ all: libuu.a
+
+***************
+*** 73,80 ****
+--- 73,89 ----
+ ar r $@ $(UULIB_OBJ)
+ -$(RANLIB) $@
+
++ SOBJS= $(UULIB_OBJ:.o=.so)
++ libuu.so.1.0: $(SOBJS)
++ rm -f $(.TARGET)
++ ld -Bshareable -x -o libuu.so.1.0 `lorder $(SOBJS) | tsort -q`
++
++ .c.so:
++ $(CC) -fpic -DPIC -c -o $(.TARGET) $(CFLAGS) $(VDEF) $(.IMPSRC)
++
+ .c.o:
+ $(CC) -c $(CFLAGS) $(VDEF) $<
++
+
+ uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h
+ uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h
diff --git a/converters/uulib/files/patch-ab b/converters/uulib/files/patch-ab
new file mode 100644
index 000000000000..8551de5336b5
--- /dev/null
+++ b/converters/uulib/files/patch-ab
@@ -0,0 +1,14 @@
+*** Makefile.in Mon Oct 14 16:19:01 1996
+--- /devel/ports/new.new.uulib/src/Makefile.in Mon Feb 10 00:03:24 1997
+***************
+*** 170,175 ****
+--- 170,179 ----
+ libuu.a: uulib/config.h
+ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
+
++ libuu.so.1.0: uulib/config.h
++ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \
++ libuu.so.1.0 )
++
+ minews:
+ (cd inews; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
diff --git a/converters/uulib/pkg-plist b/converters/uulib/pkg-plist
index 12decb3648bb..e6b4eb80ba44 100644
--- a/converters/uulib/pkg-plist
+++ b/converters/uulib/pkg-plist
@@ -1,4 +1,5 @@
lib/libuu.a
+lib/libuu.so.1.0
include/uu.h
share/doc/uulib/Makefile
share/doc/uulib/README