Date: Sun, 2 Oct 2011 15:14:38 -0400 (EDT) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: pawel@FreeBSD.org Subject: ports/161245: [PATCH] sysutils/gsmartcontrol: Fix patching if NOPORTDOCS is enabled Message-ID: <20111002191438.4A3B628440@kirby.cyberbotx.com> Resent-Message-ID: <201110021920.p92JKAjQ022529@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161245 >Category: ports >Synopsis: [PATCH] sysutils/gsmartcontrol: Fix patching if NOPORTDOCS is enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 02 19:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Sun Feb 27 08:58:31 EST 2011 >Description: - Fix patching if NOPORTDOCS is enabled. Port maintainer (pawel@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- gsmartcontrol-0.8.6.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/gsmartcontrol/files/extra-Makefile.in /kirby/shared/ports/gsmartcontrol/files/extra-Makefile.in --- /usr/ports/sysutils/gsmartcontrol/files/extra-Makefile.in 2009-03-27 17:53:43.000000000 -0400 +++ /kirby/shared/ports/gsmartcontrol/files/extra-Makefile.in 2011-10-02 15:09:24.000000000 -0400 @@ -1,32 +1,40 @@ ---- ./Makefile.in.orig 2009-03-23 18:59:37.000000000 +0100 -+++ Makefile.in 2009-03-26 17:34:55.000000000 +0100 -@@ -328,14 +328,6 @@ +--- Makefile.in.orig 2011-10-02 15:08:20.000000000 -0400 ++++ Makefile.in 2011-10-02 15:09:08.000000000 -0400 +@@ -379,17 +379,6 @@ compilation_flags: $(top_builddir)/config.status $(srcdir)/compilation_flags.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-dist_docDATA: $(dist_doc_DATA) - @$(NORMAL_INSTALL) - test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" -- @list='$(dist_doc_DATA)'; for p in $$list; do \ +- @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ +- for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- f=$(am__strip_dir) \ -- echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ -- $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ - done uninstall-dist_docDATA: @$(NORMAL_UNINSTALL) -@@ -345,15 +337,6 @@ - rm -f "$(DESTDIR)$(docdir)/$$f"; \ - done +@@ -399,20 +388,6 @@ + echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(docdir)" && rm -f $$files install-nobase_dist_docDATA: $(nobase_dist_doc_DATA) - @$(NORMAL_INSTALL) - test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" -- @$(am__vpath_adj_setup) \ -- list='$(nobase_dist_doc_DATA)'; for p in $$list; do \ -- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- $(am__vpath_adj) \ -- echo " $(nobase_dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ -- $(nobase_dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ +- @list='$(nobase_dist_doc_DATA)'; test -n "$(docdir)" || list=; \ +- $(am__nobase_list) | while read dir files; do \ +- xfiles=; for file in $$files; do \ +- if test -f "$$file"; then xfiles="$$xfiles $$file"; \ +- else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ +- test -z "$$xfiles" || { \ +- test "x$$dir" = x. || { \ +- echo "$(MKDIR_P) '$(DESTDIR)$(docdir)/$$dir'"; \ +- $(MKDIR_P) "$(DESTDIR)$(docdir)/$$dir"; }; \ +- echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(docdir)/$$dir'"; \ +- $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(docdir)/$$dir" || exit $$?; }; \ - done uninstall-nobase_dist_docDATA: --- gsmartcontrol-0.8.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111002191438.4A3B628440>