ports/105192: libcairo configure script broken
Kevin Thompson
antiduh at csh.rit.edu
Mon Nov 6 02:50:23 UTC 2006
>Number: 105192
>Category: ports
>Synopsis: libcairo configure script broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 06 02:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Kevin Thompson
>Release: 6.2-prerelease
>Organization:
CSH at RIT
>Environment:
FreeBSD corrugated.csh.rit.edu 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sat Nov 4 16:15:04 EST 2006 antiduh at corrugated.csh.rit.edu:/usr/obj/usr/src/sys/CORRUGATED6 i386
>Description:
The ports/graphics/cairo/ port's configure script seems broken:
checking for cairo's PNG backend
--exists: not found
--exists: not found
--exists: not found
<fails>
Looking at the configure script, the problem is on line 24791:
24771 echo "$as_me:$LINENO: checking for cairo's PNG backend" >&5
24772 echo $ECHO_N "checking for cairo's PNG backend... $ECHO_C" >&6
24773 if test "${cairo_cv_backend_png_use+set}" = set; then
24774 echo $ECHO_N "(cached) $ECHO_C" >&6
24775 else
24776 echo
24777 use_png=yes
24778 png_REQUIRES=$ac_env_png_REQUIRES_value
24779 png_CFLAGS=$ac_env_png_CFLAGS_value
24780 png_LIBS=$ac_env_png_LIBS_value
24781 png_NONPKGCONFIG_CFLAGS=$ac_env_png_NONPKGCONFIG_CFLAGS_value
24782 png_NONPKGCONFIG_LIBS=$ac_env_png_NONPKGCONFIG_LIBS_value
24783 png_BASE=cairo
24784
24785 use_png=no
24786
24787 if test "x$png_REQUIRES" = x; then
24788 # libpng13 is GnuWin32's libpng-1.2.8 :-(
24789 for l in libpng12 libpng13 libpng10 ; do
24790 if $PKG_CONFIG --exists $l ; then
24791 png_REQUIRES=$l
24792 use_png=yes
24793 break
24794 fi
24795 done
24796 else
24797 use_png=yes
24798 fi
24799
24800 if test "x$use_png" = "xyes" ; then
If you insert 'echo "$PKG_CONFIG"' above 24791, you get blank lines.
if you replace line 24790 $PKG_CONFIG with /usr/local/bin/pkg-config, that test works, but the next test fails.
If you insert PKG_CONFIG=/usr/local/bin/pkg-config at line 24786, it fixes it and the whole thing builds.
>How-To-Repeat:
Try to build a fresh copy of cairo 1.2.6
>Fix:
Insert PKG_CONFIG=/usr/local/bin/pkg-config (or equivelent path) at the top of the file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list