Opened 12 years ago

Closed 12 years ago

#37549 closed defect (fixed)

libesmtp: error: 'AM_CONFIG_HEADER': this macro is obsolete

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: noses@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: libesmtp

Description

libesmtp fails the autoreconf step, saying:

configure.ac:28: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:28: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

This is because of the recent automake 1.13 update.

The attached revised version of the configure patch fixes this. May I commit it?

We also need to make a change (any change) to the Portfile itself, so that MacPorts will know that it should clean the work directory before trying again. May I take this opportunity to reformat the portfile to our usual whitespace conventions?

Attachments (2)

patch-configure.ac.diff (756 bytes) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.
proposed patch
libesmtp-reformatting.diff (4.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: patch-configure.ac.diff added

proposed patch

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: libesmtp-reformatting.diff added

comment:1 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

The attached revised version of the configure patch fixes this. May I commit it?

r101397

We also need to make a change (any change) to the Portfile itself, so that MacPorts will know that it should clean the work directory before trying again. May I take this opportunity to reformat the portfile to our usual whitespace conventions?

r101398

Note: See TracTickets for help on using tickets.