Date: Sat, 5 Jan 2013 05:30:01 GMT From: Eric Krausser <eric@krausser-edv.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/174961: graphics/xsane fails to compile Message-ID: <201301050530.r055U19i059436@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/174961; it has been noted by GNATS. From: Eric Krausser <eric@krausser-edv.de> To: bug-followup@FreeBSD.org Cc: nemysis <nemysis@gmx.ch>, araujo@FreeBSD.org Subject: Re: ports/174961: graphics/xsane fails to compile Date: Sat, 05 Jan 2013 06:24:42 +0100 This is a multi-part message in MIME format. --------------040402010100020805070101 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit graphics/xsane fails to compile, because `sane-config --libs` (from graphics/sane-backends) can not find /usr/local/libdata/pkgconfig/sane-backends.pc To solve this problem apply the attached patch against /usr/ports/graphics/sane-backends/Makefile, please. Eric --------------040402010100020805070101 Content-Type: text/plain; charset=UTF-8; name="graphics_sane-backends_Makefile.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="graphics_sane-backends_Makefile.patch" --- Makefile.orig 2013-01-05 05:13:49.053877798 +0100 +++ Makefile 2013-01-05 06:02:23.536122526 +0100 @@ -119,6 +119,8 @@ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^pkgconfigdir/s|@libdir@|@prefix@/libdata|' \ ${WRKSRC}/tools/Makefile.in + @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR=/s|@libdir@|@prefix@/libdata|' \ + ${WRKSRC}/tools/sane-config.in post-install: .if ${PORT_OPTIONS:MDOCS} --------------040402010100020805070101--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301050530.r055U19i059436>