pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45320: [PATCH] remove needless code for google perftools



>Number:         45320
>Category:       pkg
>Synopsis:       [PATCH] remove needless code for google perftools
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 01 09:10:00 +0000 2011
>Originator:     Sergey A. Osokin
>Release:        NetBSD 5.1
>Organization:
n/a
>Environment:
        
        
System: NetBSD nbsd5.FreeBSD.ORG.ru 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov 7 
14:39:56 UTC 2010 
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        Remove needless code for google perftools.  Otherwise depends on port of
        google-perftools (http://code.google.com/p/google-perftools/) require.

>How-To-Repeat:

$ make PKG_OPTIONS.nginx="inet6 pcre ssl gtools" configure
...
checking for PCRE library ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for Google perftools ... not found
checking for Google perftools in /usr/local/ ... not found

./configure: error: the Google perftool module requires the Google perftools
library. You can either do not enable the module or install the library.

*** Error code 1

Stop.

>Fix:

Index: pkgsrc/www/nginx/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/nginx/options.mk,v
retrieving revision 1.10
diff -u -r1.10 options.mk
--- pkgsrc/www/nginx/options.mk 27 Jun 2010 18:00:24 -0000      1.10
+++ pkgsrc/www/nginx/options.mk 1 Sep 2011 08:43:37 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.10 2010/06/27 18:00:24 joerg Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nginx
-PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache pcre \
+PKG_SUPPORTED_OPTIONS= dav flv inet6 mail-proxy memcache pcre \
                        push realip ssl sub uwsgi
 PKG_SUGGESTED_OPTIONS= pcre ssl
 
@@ -34,10 +34,6 @@
 CONFIGURE_ARGS+=       --with-http_sub_module
 .endif
 
-.if !empty(PKG_OPTIONS:Mgtools)
-CONFIGURE_ARGS+=       --with-google_perftools_module
-.endif
-
 .if !empty(PKG_OPTIONS:Mmail-proxy)
 CONFIGURE_ARGS+=       --with-mail
 .endif

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index