From 604485f846c58c349c83d5a367b0b83bb39c2262 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 4 Jan 2014 23:40:44 +0000 Subject: Convert the tree to USES=fam Approved by: portmgr (bapt) --- www/lighttpd/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'www/lighttpd') diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index ab77513e5528..3e3509ea5da0 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -19,8 +19,7 @@ LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre USE_BZIP2= yes GNU_CONFIGURE= yes USE_GNOME= lthack -USE_GMAKE= yes -USES= pkgconfig +USES= gmake pkgconfig #.if !defined(_BUILDING_LIGHTTPD_MODULE) #USE_AUTOTOOLS= libtool @@ -56,6 +55,10 @@ SPAWNFCGI_DESC= Depend on spawn-fcgi utility VALGRIND_DESC= valgrind support WEBDAV_DESC= WebDAV support +FAM_USES= fam +FAM_CONFIGURE_ON= --with-fam +FAM_CONFIGURE_ENV= FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib" + LIGHTTPD_CONF_FILES= lighttpd.conf modules.conf LIGHTTPD_CONF_D_FILES= access_log.conf \ @@ -103,12 +106,6 @@ CONFIGURE_ARGS+= --with-openssl \ CONFIGURE_ARGS+= --with-bzip2 .endif -.if ${PORT_OPTIONS:MFAM} -USE_FAM= yes -CONFIGURE_ARGS+= --with-fam -CONFIGURE_ENV+= FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib" -.endif - .if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm CONFIGURE_ARGS+= --with-gdbm -- cgit v1.2.3