Subject: Re: pkg/29989
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Idar Tollefsen <idart@performancedesign.no>
List: pkgsrc-bugs
Date: 04/28/2005 11:18:01
The following reply was made to PR pkg/29989; it has been noted by GNATS.

From: Idar Tollefsen <idart@performancedesign.no>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/29989
Date: Thu, 28 Apr 2005 13:17:18 +0200

 This is a multi-part message in MIME format.
 --------------040509010708060509040606
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This is probably not a Darwin/OS X specific issue. I would imagine this happens 
 for all platforms where it picks a target specific package.
 
 I've attached a patch to fix it.
 
 Note that the patch includes pango in PANGO_PACKAGES directly, it doesn't change 
 just PANGO_CFLAGS and PANGO_LIBS because those two are just used by the 
 configure script and not propagated to the build itself. By adding pango to 
 PANGO_PACKAGES, both the configure script and the build gets the right flags.
 
 PS: x11/gtk2 still depends on pkg/30081 to build, at least on OS X.
 
 --------------040509010708060509040606
 Content-Type: text/plain;
  name="patch-ai"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-ai"
 
 --- configure.orig	Tue Apr 12 22:31:12 2005
 +++ configure	Thu Apr 28 10:07:36 2005
 @@ -30976,6 +30976,10 @@
          PANGO_PACKAGES=pango
  fi
  
 +if test "x$PANGO_PACKAGES" != "xpango"; then
 +        PANGO_PACKAGES="$PANGO_PACKAGES pango"
 +fi
 +
  # Check for Pango flags
  
  echo "$as_me:$LINENO: checking Pango flags" >&5
 
 --------------040509010708060509040606--