Bug 107126 - editors/openoffice.org-2 won't build if pkg_create not found
Summary: editors/openoffice.org-2 won't build if pkg_create not found
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: freebsd-openoffice (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-23 03:40 UTC by Peter Jeremy
Modified: 2007-01-05 07:20 UTC (History)
0 users

See Also:


Attachments
file.diff (863 bytes, patch)
2006-12-23 03:40 UTC, Peter Jeremy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy 2006-12-23 03:40:12 UTC
	The 'epm' project within the OOo build expects to find pkg_create in
	the $PATH.  However, pkg_create is normally in /usr/sbin - which is
	not part of the standard user $PATH.  (If ports/sysutils/pkg_install
	is installed then pkg_create will be in $LOCALBASE/sbin).

Fix: I used the following patch but this is not a general solution
	because it doesn't handle ports/sysutils/pkg_install.  A general
	fix would be to add $LOCALBASE/sbin:/usr/sbin to $PATH if they
	are not already present.
How-To-Repeat: 	cd /usr/ports/editors/openoffice.org-2 && make
	using the standard user $PATH
Comment 1 Edwin Groothuis freebsd_committer 2006-12-23 03:40:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer
Comment 2 dfilter service freebsd_committer 2007-01-05 07:12:05 UTC
maho        2007-01-05 07:11:59 UTC

  FreeBSD ports repository

  Added files:
    editors/openoffice.org-2/files patch-i73157 
    editors/openoffice.org-2-RC/files patch-i73157 
    editors/openoffice.org-2-devel/files patch-i73157 
  Log:
  Fix `epm: Unable to execute "pkg_create" program: No such file or directory' problem.
  (epm is an external library so we don't need JCA)
  
  PR:             107126
  Submitted by:   Peter Jeremy
  
  Revision  Changes    Path
  1.1       +30 -0     ports/editors/openoffice.org-2-RC/files/patch-i73157 (new)
  1.1       +30 -0     ports/editors/openoffice.org-2-devel/files/patch-i73157 (new)
  1.1       +30 -0     ports/editors/openoffice.org-2/files/patch-i73157 (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maho Nakata freebsd_committer 2007-01-05 07:13:51 UTC
State Changed
From-To: open->closed

committed, thanks!