diff options
author | Steve Price <steve@FreeBSD.org> | 1998-09-26 23:48:25 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-09-26 23:48:25 +0000 |
commit | 7d1ae7d9f860e4cdd307447697bc9ec79c924514 (patch) | |
tree | 2f5f8fc5c1aeea05c606f6de3104dcfaf3ca80e6 /converters/uulib/files | |
parent | 70246250586db64662f58aac8e4d40f70fc53af5 (diff) | |
download | ports-7d1ae7d9f860e4cdd307447697bc9ec79c924514.tar.gz ports-7d1ae7d9f860e4cdd307447697bc9ec79c924514.zip |
Convert to ELF.
Notes
Notes:
svn path=/head/; revision=13419
Diffstat (limited to 'converters/uulib/files')
-rw-r--r-- | converters/uulib/files/patch-aa | 72 | ||||
-rw-r--r-- | converters/uulib/files/patch-ab | 31 |
2 files changed, 50 insertions, 53 deletions
diff --git a/converters/uulib/files/patch-aa b/converters/uulib/files/patch-aa index a8f3f4829631..04b956faad11 100644 --- a/converters/uulib/files/patch-aa +++ b/converters/uulib/files/patch-aa @@ -1,39 +1,33 @@ -*** 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 +--- uulib/Makefile.in.orig Mon Oct 14 15:19:18 1996 ++++ uulib/Makefile.in Fri Sep 25 14:49:15 1998 +@@ -50,7 +50,7 @@ + # + + .SUFFIXES: +-.SUFFIXES: .c .o ++.SUFFIXES: .c .o .so + + all: libuu.a + +@@ -73,8 +73,21 @@ + 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` ++ ++libuu.so.1: $(SOBJS) ++ rm -f $(.TARGET) ++ ld -shared -x -soname libuu.so.1 -o libuu.so.1 $(SOBJS) ++ ++.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 index 8551de5336b5..412895cdb9ca 100644 --- a/converters/uulib/files/patch-ab +++ b/converters/uulib/files/patch-ab @@ -1,14 +1,17 @@ -*** 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)' ) +--- Makefile.in.orig Mon Oct 14 15:19:01 1996 ++++ Makefile.in Fri Sep 25 14:53:03 1998 +@@ -170,6 +170,14 @@ + 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 ) ++ ++libuu.so.1: uulib/config.h ++ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \ ++ libuu.so.1 ) ++ + minews: + (cd inews; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' ) + |