Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2025 07:31:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285302] print/fig2dev: Build doesn't find PNG lib
Message-ID:  <bug-285302-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285302

            Bug ID: 285302
           Summary: print/fig2dev: Build doesn't find PNG lib
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pi@FreeBSD.org
          Reporter: simon@walton.name
             Flags: maintainer-feedback?(pi@FreeBSD.org)
          Assignee: pi@FreeBSD.org

The fig2dev GNU configure script doesn't find the installed libpng under
/usr/local and so will build fig2dev without PNG image support. This is
unfortunate as it's a popular image format.

A suitable fix is just to add /usr/local to the search paths:

--- fig2dev/Makefile.orig       2025-03-10 00:22:43.644329000 -0700
+++ fig2dev/Makefile    2025-03-09 03:22:41.460102000 -0700
@@ -24,7 +24,8 @@
 GNU_CONFIGURE_MANPREFIX=3D${PREFIX}/share
 CONFIGURE_ARGS=3D        --enable-transfig \
                GSEXE=3Dgs
-CFLAGS+=3D       -Wno-return-type
+CFLAGS+=3D       -Wno-return-type -I${LOCALBASE}/include
+LDFLAGS+=3D      -L${LOCALBASE}/lib

 CONFLICTS_INSTALL=3D     transfig

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285302-7788>