summaryrefslogtreecommitdiff
path: root/archivers/gcpio/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/gcpio/patches/patch-aa')
-rw-r--r--archivers/gcpio/patches/patch-aa40
1 files changed, 40 insertions, 0 deletions
diff --git a/archivers/gcpio/patches/patch-aa b/archivers/gcpio/patches/patch-aa
new file mode 100644
index 00000000000..641548a96ed
--- /dev/null
+++ b/archivers/gcpio/patches/patch-aa
@@ -0,0 +1,40 @@
+--- Makefile.in.orig Wed Dec 20 11:28:30 1995
++++ Makefile.in Tue Mar 3 13:59:43 1998
+@@ -60,15 +60,15 @@
+ RTAPELIB = @RTAPELIB@
+
+ CFLAGS = @CFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lgnumalloc
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+
+ # Prefix for each installed program, normally empty or `g'.
+-binprefix =
++binprefix = g
+ # Prefix for each installed man page, normally empty or `g'.
+-manprefix =
++manprefix = g
+
+
+ # Where to install the cpio and mt executables.
+@@ -117,17 +117,14 @@
+ configure configure.in mkinstalldirs install-sh $(MT_SRCS) rmt.c tcexparg.c \
+ alloca.c cpio.texi cpio.info texinfo.tex
+
+-all: @PROGS@
++all: cpio
+
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
+
+ install:: installdirs all $(srcdir)/cpio.1 $(srcdir)/mt.1
+ $(INSTALL_PROGRAM) cpio $(bindir)/$(binprefix)cpio
+- test ! -f mt || $(INSTALL_PROGRAM) mt $(bindir)/$(binprefix)mt
+- -test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libexecdir)/rmt
+ -$(INSTALL_DATA) $(srcdir)/cpio.1 $(mandir)/$(manprefix)cpio.$(manext)
+- -test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(mandir)/$(manprefix)mt.$(manext)
+
+ installdirs:
+ $(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir)