pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39694: bsd.prog.mk under Interix-3.5



>Number:         39694
>Category:       pkg
>Synopsis:       bsd.prog.mk under Interix-3.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 04 11:35:01 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: 
Wed Sep 24 23:57:38 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
I'm trying to use pkgsrc's bmake under Interix for my own projects
that use bsd.prog.mk & co.

The problem is that 'bmake install' fails like this.

     bmake: exec(/bin/install-sh) failed (No such file or directory)

Interix has its own /bin/install script.

The following patch solves the problem.
This patch doesn't break pkgsrc under Interix.

>Fix:

Index: files/mods/Interix.sys.mk
===================================================================
RCS file: 
/cvsroot/pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Interix.sys.mk,v
retrieving revision 1.2
diff -u -r1.2 Interix.sys.mk
--- files/mods/Interix.sys.mk   11 Nov 2006 18:24:52 -0000      1.2
+++ files/mods/Interix.sys.mk   28 Sep 2008 11:56:44 -0000
@@ -51,7 +51,7 @@
 COMPILE.r?=    ${FC} ${FFLAGS} ${RFLAGS} -c
 LINK.r?=       ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}
 
-INSTALL?=      ${LOCALBASE}/bin/install-sh
+INSTALL?=      /bin/install
 
 LEX?=          lex
 LFLAGS?=



Home | Main Index | Thread Index | Old Index