pkgsrc-Bugs archive

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

pkg/43538: www/lighttpd fails to build [patch]



>Number:         43538
>Category:       pkg
>Synopsis:       www/lighttpd fails to build [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 27 09:50:00 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Wed 
Jun 23 23:29:48 EEST 2010 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
"configure" phase ends like this.

checking for zlib.h... yes
checking for bzip2 support... yes
checking for BZ2_bzCompress in -lbz2... no
configure: error: bzip2-headers and/or libs where not found, install them or 
build with --without-bzip2
*** Error code 1

>Fix:
Idea is to explicitely disable bzip2 support if option "bzip"
is not selected.


Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/lighttpd/options.mk,v
retrieving revision 1.6
diff -u -r1.6 options.mk
--- options.mk  22 Feb 2007 19:27:20 -0000      1.6
+++ options.mk  27 Jun 2010 09:43:48 -0000
@@ -12,6 +12,8 @@
 .if !empty(PKG_OPTIONS:Mbzip)
 .  include "../../archivers/bzip2/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-bzip2
+.else
+CONFIGURE_ARGS+=       --without-bzip2
 .endif
 



Home | Main Index | Thread Index | Old Index