mutt/2166: Makefile in doc/ is gmake-specific.
>Number: 2166
>Notify-List: mansaxel@xxxxxxxx
>Category: mutt
>Synopsis: Makefile in doc/ is gmake-specific.
>Confidential: no
>Severity: normal
>Priority: medium
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 18 10:26:31 +0100 2006
>Originator: Måns Nilsson
>Release: 1.5.10
>Organization:
Royal Institute of Technology, Stockholm, Sweden
>Environment:
Solaris 10, Sparc, sfw gcc, scs make. sfw gmake as workaround
>Description:
The makefile in doc, generated by:
./configure --with-domain=sunet.se --with-mailpath=~/Maildir/ --with-slang
--enable-imap --with-gss=/usr/heimdal --with-ssl
contains the construct:
mutt.1: $(srcdir)/mutt.man
$(EDIT) $< > $@
which evaulates to:
sed -e 's,@sysconfdir\@,/usr/local/etc,g' -e 's,@bindir\@,/usr/local/bin,g'
-e 's,@docdir\@,/usr/local/doc/mutt,g' > mutt.1
...using solaris scs make, as well as the XPG4 make. Not Good. gmake, though,
performs:
sed -e 's,@sysconfdir\@,/usr/local/etc,g' -e 's,@bindir\@,/usr/local/bin,g' -e
's,@docdir\@,/usr/local/doc/mutt,g' mutt.man > mutt.1
>How-To-Repeat:
try building in doc/ subdir with sun supplied make on solaris.
>Fix:
using gmake works. ugly though. There is a patch to Makefile.in attached that
solves the issue on Solaris 10, and does not break building with gmake. Not
tested on anything else, though.
>Add-To-Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Makefile.in.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Makefile.in.patch"
LS0tIE1ha2VmaWxlLmluIG9ucyBqYW4gMTggMTA6MTc6MDUgMjAwNgorKysgTWFrZWZpbGUuaW4u
b3JpZyAgICBvbnMgamFuIDE4IDEwOjE3OjU0IDIwMDYKQEAgLTE3MCw3ICsxNzAsNyBAQAogICAg
ICAgIC1lICdzLEBkb2NkaXJcQCwkKGRvY2RpciksZycKIAogbXV0dC4xOiAkKHNyY2RpcikvbXV0
dC5tYW4KLSAgICAgICAkKEVESVQpICQ/ID4gJEAKKyAgICAgICAkKEVESVQpICQ8ID4gJEAKIAog
bXV0dHJjLm1hbiBzdGFtcC1kb2MtbWFuOiAuLi9tYWtlZG9jJChFWEVFWFQpICQodG9wX3NyY2Rp
cikvaW5pdC5oIG11dHRyYy5tYW4uaGVhZCBtdXR0cmMubWFuLnRhaWwKICAgICAgICAkKE1BS0VE
T0NfQ1BQKSAkKHRvcF9zcmNkaXIpL2luaXQuaCB8IC4uL21ha2Vkb2MgLW0gfCAgICAgICBcCgo=