Subject: Re: pkg/30708
To: None <adam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: pkgsrc-bugs
Date: 07/26/2005 04:06:02
The following reply was made to PR pkg/30708; it has been noted by GNATS.

From: "=?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C." <ccatrian@eml.cc>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/30708
Date: Tue, 26 Jul 2005 00:05:01 -0400

 qt3-libs builds for me with the following patch. Also support for NAS is included,
 but not tested.
 
 --- Makefile.common.orig        2005-07-25 12:55:30.000000000 -0400
 +++ Makefile.common     2005-07-25 19:19:08.000000000 -0400
 @@ -23,7 +23,7 @@
  CONFIGURE_ARGS+=       -shared -sm -thread -no-stl \
                         -system-zlib -system-libpng \
                         -system-libmng -system-libjpeg \
 -                       ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//}
 +                       ${CFLAGS:M-I*} ${LDFLAGS:M-L*}
  CONFIGURE_ARGS+=       -qt-gif # qt3 does not write compressed GIFs
  CONFIGURE_ARGS.SunOS+= -no-xrender
  OPSYSVARS+=            CONFIGURE_ARGS
 @@ -75,7 +75,7 @@
  .endif
  
  PKG_OPTIONS_VAR=       PKG_OPTIONS.qt3
 -PKG_SUPPORTED_OPTIONS= cups
 +PKG_SUPPORTED_OPTIONS= cups nas
  
  .include "../../mk/bsd.options.mk"
  
 @@ -86,6 +86,13 @@
  CONFIGURE_ARGS+=       -no-cups
  .endif
  
 +.if !empty(PKG_OPTIONS:Mnas)
 +.  include "../../audio/nas/buildlink3.mk"
 +CONFIGURE_ARGS+=        -system-nas-sound  
 +.else                          
 +CONFIGURE_ARGS+=        -no-nas-sound
 +.endif
 +
  #
  # Reverse the change to how templates are handled made between 3.0.4
  # and 3.0.5 for older toolchains. Removing inline for newer toolchains