From e2aedd8abd3ca3fb06e9a7ca9ccb01278ff31386 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sun, 27 Jul 2014 15:27:04 +0000 Subject: Start cleaning up some of the uselessly ambigious patches named patch-xy, and giving them proper names. --- archivers/libarc/files/patch-Makefile | 38 +++++++++++++++++++++++++++++++++++ archivers/libarc/files/patch-aa | 38 ----------------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 archivers/libarc/files/patch-Makefile delete mode 100644 archivers/libarc/files/patch-aa (limited to 'archivers/libarc') diff --git a/archivers/libarc/files/patch-Makefile b/archivers/libarc/files/patch-Makefile new file mode 100644 index 000000000000..6601419ad2df --- /dev/null +++ b/archivers/libarc/files/patch-Makefile @@ -0,0 +1,38 @@ +--- Makefile Tue Jun 13 07:21:19 2000 ++++ Makefile Tue Jun 20 17:44:24 2000 +@@ -14,20 +15,30 @@ + url_hqxdecode.o url_qsdecode.o url_news.o url_newsgroup.o url_cgiesc.o \ + arc_mime.o + ++SOOBJS = $(OBJS:S/.o/.so/g) ++ + # readdir_win.o (for Windows) + + LIB=libarc.a + +- +-all:: $(LIB) ++all:: $(LIB) $(SOLIB) arccat + + $(LIB): $(OBJS) + $(AR) $@ $(OBJS) + $(RANLIB) $@ + +-arccat: arccat.o $(LIB) +- $(CC) -o $@ arccat.o $(LIB) ++$(SOLIB): $(SOOBJS) ++ $(CC) -shared -Wl,-soname -Wl,$@.$(SOVERSION) -o $@.$(SOVERSION) $(SOOBJS) ++ $(LN) $@.$(SOVERSION) $@ ++ ++arccat: arccat.o $(SOLIB) ++ $(CC) $(CFLAGS) -o $@ arccat.o -L. -larc + + clean:: +- $(RM) $(LIB) *.o arccat *~ libarc/*~ ++ $(RM) $(LIB) $(SOLIB).$(SOVERSION) *.o *.so arccat *~ libarc/*~ + ++ ++.SUFFIXES: .so .c ++ ++.c.so: ++ $(CC) $(CFLAGS) -fPIC -fpic -DPIC -c $(.IMPSRC) -o $(.TARGET) diff --git a/archivers/libarc/files/patch-aa b/archivers/libarc/files/patch-aa deleted file mode 100644 index 6601419ad2df..000000000000 --- a/archivers/libarc/files/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ ---- Makefile Tue Jun 13 07:21:19 2000 -+++ Makefile Tue Jun 20 17:44:24 2000 -@@ -14,20 +15,30 @@ - url_hqxdecode.o url_qsdecode.o url_news.o url_newsgroup.o url_cgiesc.o \ - arc_mime.o - -+SOOBJS = $(OBJS:S/.o/.so/g) -+ - # readdir_win.o (for Windows) - - LIB=libarc.a - -- --all:: $(LIB) -+all:: $(LIB) $(SOLIB) arccat - - $(LIB): $(OBJS) - $(AR) $@ $(OBJS) - $(RANLIB) $@ - --arccat: arccat.o $(LIB) -- $(CC) -o $@ arccat.o $(LIB) -+$(SOLIB): $(SOOBJS) -+ $(CC) -shared -Wl,-soname -Wl,$@.$(SOVERSION) -o $@.$(SOVERSION) $(SOOBJS) -+ $(LN) $@.$(SOVERSION) $@ -+ -+arccat: arccat.o $(SOLIB) -+ $(CC) $(CFLAGS) -o $@ arccat.o -L. -larc - - clean:: -- $(RM) $(LIB) *.o arccat *~ libarc/*~ -+ $(RM) $(LIB) $(SOLIB).$(SOVERSION) *.o *.so arccat *~ libarc/*~ - -+ -+.SUFFIXES: .so .c -+ -+.c.so: -+ $(CC) $(CFLAGS) -fPIC -fpic -DPIC -c $(.IMPSRC) -o $(.TARGET) -- cgit v1.2.3