ports/161245: [PATCH] sysutils/gsmartcontrol: Fix patching if NOPORTDOCS is enabled
Naram Qashat
cyberbotx at cyberbotx.com
Sun Oct 2 19:20:11 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list