ports/154734: ksh93 port installation failure
Jan Sebosik
sebosik at itm8.sk
Sun Feb 13 13:30:06 UTC 2011
>Number: 154734
>Category: ports
>Synopsis: ksh93 port installation failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 13 13:30:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jan Sebosik
>Release: 7-STABLE
>Organization:
>Environment:
FreeBSD s1.lan 7.3-STABLE FreeBSD 7.3-STABLE #1: Sat Feb 12 23:01:41 CET 2011 root at s1.lan:/home/devel/obj/home/devel/src/sys/server i386
>Description:
I was tryin` to update ksh93 to current version in ports, but port got
little problem with installation. So I made little correction to
Makefile because it is trying to search for binaries in
"work/arch/freebsd.i386/", but port binaries are built inside the
"work/arch/freebsd7.i386/" <- see the number 7 in "freebsd7.i386".
I believe that patch is self-explanatory. Just added freebsd major
version to directory name via "uname -r | cut -b 1".
>How-To-Repeat:
cd /usr/ports/shells/ksh93; make install
>Fix:
Installroot variable contains only "freebsd.{$ARCH}", but make install requires "freebsd{MAJOR_VERSION}.${ARCH}"
-INSTALLROOT= ${WRKSRC}/arch/freebsd.${ARCH}
+INSTALLROOT= ${WRKSRC}/arch/freebsd`uname -r | cut -b 1`.${ARCH}
Patch attached with submission follows:
--- Makefile.old 2011-02-12 01:06:36.000000000 +0100
+++ Makefile 2011-02-12 01:07:07.000000000 +0100
@@ -41,7 +41,7 @@
MAN1= ksh93.1
-INSTALLROOT= ${WRKSRC}/arch/freebsd.${ARCH}
+INSTALLROOT= ${WRKSRC}/arch/freebsd`uname -r | cut -b 1`.${ARCH}
do-build:
@cd ${WRKSRC} && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package make
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list