Bug 169870 - [patch] print/lilypond: unbreak unprivileged install (SU_CMD)
Summary: [patch] print/lilypond: unbreak unprivileged install (SU_CMD)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 04:50 UTC by Jan Beich
Modified: 2012-08-06 10:50 UTC (History)
0 users

See Also:


Attachments
install-su.diff (534 bytes, patch)
2012-07-15 04:50 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2012-07-15 04:50:10 UTC

How-To-Repeat: $ make install
===>  Installing for lilypond-2.14.2_2
[...]
/usr/bin/sed -i.bak -i '' -e '/LilyPond/d' /usr/local/info/dir
sed: /usr/local/info/dir: Permission denied
*** [pre-install] Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-15 04:50:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pietro Cerutti freebsd_committer freebsd_triage 2012-08-06 10:40:18 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-06 10:40:23 UTC
Author: gahr
Date: Mon Aug  6 09:40:09 2012
New Revision: 302155
URL: http://svn.freebsd.org/changeset/ports/302155

Log:
  - fix non-privileged install
  
  PR:		169870
  Submitted by:	Jan Beich <jbeich@tormail.org>

Modified:
  head/print/lilypond/Makefile

Modified: head/print/lilypond/Makefile
==============================================================================
--- head/print/lilypond/Makefile	Mon Aug  6 08:42:27 2012	(r302154)
+++ head/print/lilypond/Makefile	Mon Aug  6 09:40:09 2012	(r302155)
@@ -75,7 +75,7 @@ post-patch:
 	${REINPLACE_CMD} -e '17,21d' ${WRKSRC}/po/GNUmakefile
 .endif
 
-pre-install:
+pre-su-install:
 .if exists(${PREFIX}/info/dir)
 	${REINPLACE_CMD} -i '' -e '/LilyPond/d' ${PREFIX}/info/dir
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"