From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 5 05:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B7DEAA5A for ; Sat, 5 Jan 2013 05:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AABE0A19 for ; Sat, 5 Jan 2013 05:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id r055U16Y059437 for ; Sat, 5 Jan 2013 05:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id r055U19i059436; Sat, 5 Jan 2013 05:30:01 GMT (envelope-from gnats) Date: Sat, 5 Jan 2013 05:30:01 GMT Message-Id: <201301050530.r055U19i059436@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Eric Krausser Subject: Re: ports/174961: graphics/xsane fails to compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eric Krausser List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2013 05:30:01 -0000 The following reply was made to PR ports/174961; it has been noted by GNATS. From: Eric Krausser To: bug-followup@FreeBSD.org Cc: nemysis , 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--