ports/174961: graphics/xsane fails to compile

Eric Krausser eric at krausser-edv.de
Sat Jan 5 05:30:01 UTC 2013


The following reply was made to PR ports/174961; it has been noted by GNATS.

From: Eric Krausser <eric at krausser-edv.de>
To: bug-followup at FreeBSD.org
Cc: nemysis <nemysis at gmx.ch>, araujo at 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--


More information about the freebsd-ports-bugs mailing list