Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  5 Jul 2000 05:22:47 -0700 (PDT)
From:      oota@LSi.nec.co.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19711: bsd.port.mk and autoconf are conflict
Message-ID:  <20000705122247.B8C2B37BDE8@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19711
>Category:       ports
>Synopsis:       bsd.port.mk and autoconf are conflict
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 05 05:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     HIROSHI OOTA
>Release:        4.0-RELEASE
>Organization:
NEC Corporation
>Environment:
FreeBSD xxx 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sat Apr  8 02:49:15 JST 2000 xxx  i386

>Description:
$FreeBSD: ports/Mk/bsd.port.mk,v 1.340 2000/06/16 21:52:40 asami Exp $
Autoconf version 2.13

At the configuration phase in ports building, bsd.port.mk invokes the configuration script with environment variable INSTALL='/usr/bin/install -c'.
If the sources has subdirectory and subdirectory's install command is 
substituted by INSTALL, the configure script will not work properly.

>How-To-Repeat:
1 Extract the following shar.
2 Execute autoconf in topdir and dir1.
3 Execute `./configure' in topdir.
  dir1/Makefile is correct.
4 Execute 'INSTALL="/usr/bin/install -c" ./configure`
  dir1/Makefile is incorrect.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       Makefile.in
#       configure.in
#       dir1
#       dummy
#       install.sh
#       dir1/Makefile.in
#       dir1/configure.in
#       dir1/dummy
#
echo x - Makefile.in
sed 's/^X//' >Makefile.in << 'END-of-Makefile.in'
XINSTALL=@INSTALL@
END-of-Makefile.in
echo x - configure.in
sed 's/^X//' >configure.in << 'END-of-configure.in'
XAC_INIT(dummy)
XAC_PROG_INSTALL
XAC_CONFIG_SUBDIRS(dir1)
XAC_OUTPUT(Makefile)
END-of-configure.in
echo c - dir1
mkdir -p dir1 > /dev/null 2>&1
echo x - dummy
sed 's/^X//' >dummy << 'END-of-dummy'
END-of-dummy
echo x - install.sh
sed 's/^X//' >install.sh << 'END-of-install.sh'
END-of-install.sh
echo x - dir1/Makefile.in
sed 's/^X//' >dir1/Makefile.in << 'END-of-dir1/Makefile.in'
XINSTALL=@INSTALL@
END-of-dir1/Makefile.in
echo x - dir1/configure.in
sed 's/^X//' >dir1/configure.in << 'END-of-dir1/configure.in'
XAC_INIT(dummy)
XAC_PROG_INSTALL
XAC_OUTPUT(Makefile)
END-of-dir1/configure.in
echo x - dir1/dummy
sed 's/^X//' >dir1/dummy << 'END-of-dir1/dummy'
END-of-dir1/dummy
exit

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000705122247.B8C2B37BDE8>