Subject: Re: pkg/34860 (New package database/ipa_sdb (database module for sysutils/ipa))
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
List: pkgsrc-bugs
Date: 01/22/2007 12:00:05
The following reply was made to PR pkg/34860; it has been noted by GNATS.

From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org
Subject: Re: pkg/34860 (New package database/ipa_sdb (database module for sysutils/ipa))
Date: Mon, 22 Jan 2007 13:56:40 +0200

 On Wed, Jan 03, 2007 at 03:22:15PM +0000, obache@NetBSD.org wrote:
 > Synopsis: New package database/ipa_sdb (database module for sysutils/ipa)
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: obache@netbsd.org
 > State-Changed-When: Wed, 03 Jan 2007 15:22:13 +0000
 > State-Changed-Why:
 > I made some modification and imported.
 > Build and install fine on NetBSD/i386 3.0.1 and 2.0.2 by pkg_comp.
 > 
 
 Hello,
 
 I found some problems with modified version of this package:
 
 1. options.mk has some mistakes with names of options (a patch
    is given below).
 
 2. This package should build only shared libraries, static libraries
    should not be built.  Package's configure has AC_DISABLE_STATIC,
    nevertheless static libraries are built (in the original version
    I did not add USE_LIBTOOL to Makefile and everything worked
    as expected).  I tried to add SHLIBTOOL_OVERRIDE, but this did not
    help, at least on my pkgsrc, which is a bit outdated.
 
 --- options.mk.orig	2007-01-21 20:39:39.000000000 +0000
 +++ options.mk	2007-01-21 20:41:17.000000000 +0000
 @@ -1,35 +1,35 @@
  # $NetBSD: options.mk,v 1.1.1.1 2007/01/03 15:06:02 obache Exp $
  
  PKG_OPTIONS_VAR=	PKG_OPTIONS.ipa_sdb
 -PKG_SUPPORTED_OPTIONS=	ipa-without-autorules ipa-without-limits \
 -			ipa-without-rules ipa-without-thresholds
 +PKG_SUPPORTED_OPTIONS=	ipa_sdb-without-autorules ipa_sdb-without-limits \
 +			ipa_sdb-without-rules ipa_sdb-without-thresholds
  
  .include "../../mk/bsd.options.mk"
  
  ###
  ### Disable dynamic rules support
  ###
 -.if !empty(PKG_OPTIONS:Mwithout_autorules)
 +.if !empty(PKG_OPTIONS:Mipa_sdb-without-autorules)
  CONFIGURE_ARGS+= --disable-autorules
  .endif
  
  ###
  ### Disable limits support
  ###
 -.if !empty(PKG_OPTIONS:Mwithout_limits)
 +.if !empty(PKG_OPTIONS:Mipa_sdb-without-limits)
  CONFIGURE_ARGS+= --disable-limits
  .endif
  
  ###
  ### Disable static rules support
  ###
 -.if !empty(PKG_OPTIONS:Mwithout_rules)
 +.if !empty(PKG_OPTIONS:Mipa_sdb-without-rules)
  CONFIGURE_ARGS+= --disable-rules
  .endif
  
  ###
  ### Disable thresholds support
  ###
 -.if !empty(PKG_OPTIONS:Mwithout_thresholds)
 +.if !empty(PKG_OPTIONS:Mipa_sdb-without-thresholds)
  CONFIGURE_ARGS+= --disable-thresholds
  .endif