pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39867: pkgsrc and imake disagree about installer
>Number: 39867
>Category: pkg
>Synopsis: pkgsrc and imake disagree about installer
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 05 11:25:00 +0000 2008
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc
>Description:
When installing packages that use imake under OpenSolaris, installation fails,
as /usr/ucb/install is not available any more.
pkgsrc does the right thing in mk/tools/tools.SunOS.mk:
.if exists(/usr/bin/ginstall) # if we are using OpenSolaris
TOOLS_PLATFORM.install?= /usr/bin/ginstall
.else
TOOLS_PLATFORM.install?= /usr/ucb/install
.endif
but imakes configuration in lib/X11/config/sun.cf is rather inflexible:
# if OSMinorVersion > 3
# define InstallCmd /usr/ucb/install
# endif
>How-To-Repeat:
>Fix:
Small fix: patch
# define InstallCmd /usr/ucb/install
in sun.cf to
# define InstallCmd @@PKGSRC_INSTALL@@
and replace it with ${TOOLS_PLATFORM.install} during pre-configure step,
similar to PKGSRC_CC, etc.
Big fix(?): Replace every definition of InstallCmd with TOOLS_PLATFORM.install,
for all platforms.
Home |
Main Index |
Thread Index |
Old Index