Ticket #26030 (closed defect: fixed)
pkg.m4 underquoting with autoconf-2.66+
| Reported by: | ram@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | Eric.J.Fielding@…, sewebster@… | |
| Port: | pkgconfig |
Description
autoconf-2.66+ exposes an apparent underquoting bug in pkg.m4 that was causing some ports (such as xorg-libXp) to fail with errors of the form:
configure:12439: error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
The attached patches add the appropriate quoting that fixes these errors.
Attachments
Change History
comment:1 Changed 3 years ago by Eric.J.Fielding@…
Can somebody describe where and how to apply these patches? I am new to MacPorts and dead in the water right now.
comment:3 follow-up: ↓ 6 Changed 3 years ago by sewebster@…
Briefly: Change the portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig as per the diff and then create a directory called files in that same directory and put the other .diff file in it. Then install pkgconfig again.
comment:6 in reply to: ↑ 3 Changed 3 years ago by Eric.J.Fielding@…
Replying to sewebster@…:
Briefly: Change the portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig as per the diff and then create a directory called files in that same directory and put the other .diff file in it. Then install pkgconfig again.
Thanks!! I am back under sail again.
comment:10 Changed 3 years ago by ryandesign@…
- Status changed from assigned to closed
- Resolution set to fixed
Thank you for the patch, which I've applied it r70479.

