ports/161059: Some files in the plist are not installed
Osamu Tsumori
freebsd at ptbnv.org
Tue Sep 27 06:40:08 UTC 2011
>Number: 161059
>Category: ports
>Synopsis: Some files in the plist are not installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 27 06:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Osamu Tsumori
>Release: 8.2-RELEASE
>Organization:
>Environment:
FreeBSD dyna.ptbnv.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar 1 16:42:29 JST 2011 freebsd at dyna.ptbnv.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
In /usr/ports/print/a2ps-{letter,a4}, "make install" does not install 'a2ps.el{c}' and 'a2ps-print.el{c}' into /usr/local/share/emacs/site-lisp.
>How-To-Repeat:
cd /usr/ports/print/a2ps-letter && make install
>Fix:
/ports/print/a2ps-letter/files/patch-contrib-emacs-Makefile.in
Index: contrib/emacs/Makefile.in
--- Makefile.in.orig 2011-09-27 15:17:26.000000000 +0900
+++ Makefile.in 2011-09-27 15:18:10.000000000 +0900
@@ -159,8 +159,9 @@
install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(lispdir)
- @list='$(dist_lisp_LISP)'; for p in $$list; do \
+ if test $(EMACS) != no; then \
+ $(mkinstalldirs) $(DESTDIR)$(lispdir); \
+ list='$(dist_lisp_LISP)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$f"; \
@@ -169,7 +170,8 @@
echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c"; \
$(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c; \
else : ; fi; \
- done
+ done; \
+ fi
uninstall-dist_lispLISP:
@$(NORMAL_UNINSTALL)
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# print/a2ps-letter/files/patch-contrib-emacs-Makefile.in
#
echo x - print/a2ps-letter/files/patch-contrib-emacs-Makefile.in
sed 's/^X//' >print/a2ps-letter/files/patch-contrib-emacs-Makefile.in << '98245334a98cc2a86f783845ca06cda8'
XIndex: contrib/emacs/Makefile.in
X--- Makefile.in.orig 2011-09-27 15:17:26.000000000 +0900
X+++ Makefile.in 2011-09-27 15:18:10.000000000 +0900
X@@ -159,8 +159,9 @@
X
X install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES)
X @$(NORMAL_INSTALL)
X- $(mkinstalldirs) $(DESTDIR)$(lispdir)
X- @list='$(dist_lisp_LISP)'; for p in $$list; do \
X+ if test $(EMACS) != no; then \
X+ $(mkinstalldirs) $(DESTDIR)$(lispdir); \
X+ list='$(dist_lisp_LISP)'; for p in $$list; do \
X if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
X f="`echo $$p | sed -e 's|^.*/||'`"; \
X echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$f"; \
X@@ -169,7 +170,8 @@
X echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c"; \
X $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c; \
X else : ; fi; \
X- done
X+ done; \
X+ fi
X
X uninstall-dist_lispLISP:
X @$(NORMAL_UNINSTALL)
98245334a98cc2a86f783845ca06cda8
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list