Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2017 15:37:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217613] FreeBSD make -- local variable $(.PREFIX) does not strip preceding directory components
Message-ID:  <bug-217613-8-ZB87TcZW6B@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217613-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217613-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217613

--- Comment #1 from Erik Nordstr=C3=B8m <erik@nordstroem.no> ---
Furthermore, even if making the paths absolute by replacing

BINDIR =3D bin
OBJDIR =3D build

in the BSDmakefile with

BINDIR =3D $(PWD)/bin
OBJDIR =3D $(PWD)/build

the prefix is still not stripped of the preceding directory.

$ make
make: don't know how to make src//usr/home/erikn/tmp/hello/build/hello.c. S=
top

make: stopped in /usr/home/erikn/tmp/hello

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217613-8-ZB87TcZW6B>