diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch')
-rw-r--r-- | sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch b/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch new file mode 100644 index 000000000000..d4f6e222e112 --- /dev/null +++ b/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch @@ -0,0 +1,71 @@ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -1,42 +1,2 @@ +-#!/bin/sh +-# Makefile to build/install doc files +-# +-TOPDIR = ${top_srcdir} +-fromd = $(TOPDIR)/doc +-MKDIR = sh $(TOPDIR)/mkinstalldirs +-INSTALL_SH = sh $(TOPDIR)/install-sh +-INSTALL_DATA_CMD = ${INSTALL_SH} -c -m 644 +-INSTALL_SCRIPT_CMD = ${INSTALL_SH} -c -m 755 +-prefix = /usr +-exe_prefix = +- +-datadir = ${prefix}/share +-mandir = ${prefix}/share/man +-sysconfdir = ${exe_prefix}/etc +-sbindir = ${exe_prefix}/sbin +-datato = ${DESTDIR}${datadir}/scsirastools +- +-sbin_PROGRAMS = +- +-all: +- +-clean: +- +-distclean: +- +-install: +- $(MKDIR) ${DESTDIR}${mandir}/man8 +- $(MKDIR) ${datato} +- ${INSTALL_DATA_CMD} $(fromd)/sgdefects.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgdskfl.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgdiag.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgmode.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgraidmon.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgdiskmon.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/sgsafte.8 ${DESTDIR}${mandir}/man8 +- ${INSTALL_DATA_CMD} $(fromd)/UserGuide ${datato} +- ${INSTALL_DATA_CMD} $(TOPDIR)/README ${datato} +- ${INSTALL_DATA_CMD} $(TOPDIR)/COPYING ${datato} +- ${INSTALL_DATA_CMD} $(TOPDIR)/kern/SCSIRAS ${datato} +- +-EXTRA_DIST = ++dist_man_MANS = sgdefects.8 sgdskfl.8 sgdiag.8 sgmode.8 sgraidmon.8 sgdiskmon.8 sgsafte.8 ++dist_doc_DATA = UserGuide +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,20 +1,15 @@ + +-SUBDIRS = mdadm.d src files doc ++SUBDIRS = src doc + PKGDIR = /usr/src/redhat + SOURCEDIR = $(PKGDIR)/SOURCES + BUILDDIR = $(PKGDIR)/BUILD + RSPEC = doc/$(PACKAGE).spec + PNAME = $(PACKAGE)-$(VERSION) + TMPDIR = /tmp/$(PNAME) +-RPMB = rpmbuild + + rpm: $(RSPEC) + make tarball +- $(RPMB) -bs $(RSPEC) +- $(RPMB) -bb $(RSPEC) + +-# $(RPMB) --rebuild $(PKGDIR)/SRPMS/$(PNAME)-1.i386.rpm +-# $(RPMB) -bb --buildroot $(BUILDDIR)/$(PNAME) $(RSPEC) + + tarball: + rm -f $(SOURCEDIR)/$(PNAME).tar.gz |