[MacPorts] #39805: libcerf: compile error on 10.6

MacPorts noreply at macports.org
Fri Jul 19 07:11:09 PDT 2013


#39805: libcerf: compile error on 10.6
----------------------+---------------------
  Reporter:  mojca@…  |      Owner:  mojca@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  libcerf  |
----------------------+---------------------

Comment (by mojca@…):

 I'm just confirming that the following patch works:
 {{{
 --- configure
 +++ configure
 @@ -11432,7 +11432,7 @@ if test "x$ac_cv_prog_cc_c99" != xno; then :
  fi


 -AM_CFLAGS="-pedantic -Wall -Werror"
 +AM_CFLAGS="-pedantic -Wall"

  ac_config_headers="$ac_config_headers config.h"
   # to avoid endless -D options
 --- configure.ac
 +++configure.ac
 @@ -31,7 +31,7 @@ AM_INIT_AUTOMAKE([foreign]) # don't insert GNU standard
 text files
  LT_INIT([disable-static])

  AC_PROG_CC_C99
 -AC_SUBST(AM_CFLAGS,"-pedantic -Wall -Werror")
 +AC_SUBST(AM_CFLAGS,"-pedantic -Wall")
  AC_CONFIG_HEADERS([config.h]) # to avoid endless -D options
  AC_HEADER_STDC
 }}}

 Unless other MacPorters disagree, I can simply patch the {{{configure}}}
 script in {{{Portfile}}} ({{{configure.ac}}} may not be patched, else
 build process complains about missing {{{aclocal}}}). I don't see any urge
 to patch the upstream sources, but I leave that to others to discuss.

-- 
Ticket URL: <https://trac.macports.org/ticket/39805#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list