[Midnightbsd-cvs] mports: Makefile: Enable BZIP2 by default.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 25 14:45:25 EDT 2008


Log Message:
-----------
Enable BZIP2 by default.

Explicitly disable bzip2, ldap and mysql if they are not selected.

Modified Files:
--------------
    mports/www/lighttpd:
        Makefile (r1.6 -> r1.7)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/lighttpd/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L www/lighttpd/Makefile -L www/lighttpd/Makefile -u -r1.6 -r1.7
--- www/lighttpd/Makefile
+++ www/lighttpd/Makefile
@@ -8,7 +8,7 @@
 
 PORTNAME=	lighttpd
 PORTVERSION=	1.4.19
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://www.lighttpd.net/download/ \
 		http://mirrors.cat.pdx.edu/lighttpd/
@@ -32,7 +32,7 @@
 
 MAN1=		lighttpd.1 spawn-fcgi.1
 
-OPTIONS=	BZIP2		"Enable Bzip2 support"	off \
+OPTIONS=	BZIP2		"Enable Bzip2 support"	on \
 		CML		"Enable Cache Meta Language support" off \
 		IPV6		"Enable IPV6 support"   on  \
 		MYSQL		"Enable MYSQL support"  off \
@@ -53,18 +53,24 @@
 
 .if defined(WITH_BZIP2)
 CONFIGURE_ARGS+=	--with-bzip2
+.else
+CONFIGURE_ARGS+=	--disable-bzip2
 .endif
 
 .if defined(WITH_OPENLDAP)
 USE_OPENLDAP=		yes
 CONFIGURE_ARGS+=	--with-ldap
 _REQUIRE+=		slapd
+.else
+CONFIGURE_ARGS+=	--disable-ldap
 .endif
 
 .if defined(WITH_MYSQL)
 USE_MYSQL=		yes
 CONFIGURE_ARGS+=	--with-mysql
 _REQUIRE+=		mysql
+.else
+CONFIGURE_ARGS+=	--disable-mysql
 .endif
 
 .if defined(WITHOUT_IPV6)


More information about the Midnightbsd-cvs mailing list