[Midnightbsd-cvs] mports: Makefile: Add FAM/GDBM support.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 25 15:07:52 EDT 2008
Log Message:
-----------
Add FAM/GDBM support. portlint fixes
Modified Files:
--------------
mports/www/lighttpd:
Makefile (r1.7 -> r1.8)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/lighttpd/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -L www/lighttpd/Makefile -L www/lighttpd/Makefile -u -r1.7 -r1.8
--- www/lighttpd/Makefile
+++ www/lighttpd/Makefile
@@ -8,7 +8,7 @@
PORTNAME= lighttpd
PORTVERSION= 1.4.19
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.lighttpd.net/download/ \
http://mirrors.cat.pdx.edu/lighttpd/
@@ -23,7 +23,7 @@
GNU_CONFIGURE= yes
USE_GNOME= lthack
USE_RC_SUBR= lighttpd.sh
-CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd
+CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
@@ -34,6 +34,8 @@
OPTIONS= BZIP2 "Enable Bzip2 support" on \
CML "Enable Cache Meta Language support" off \
+ FAM "Enable FAM support" off \
+ GDBM "Enable GDBM support" off \
IPV6 "Enable IPV6 support" on \
MYSQL "Enable MYSQL support" off \
OPENSSL "Enable SSL support" on \
@@ -57,6 +59,17 @@
CONFIGURE_ARGS+= --disable-bzip2
.endif
+.if defined(WITH_FAM)
+LIB_DEPENDS+= fam:${PORTSDIR}/devel/fam
+CONFIGURE_ARGS+= --with-fam
+CONFIGURE_ENV+= FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib"
+.endif
+
+.if defined(WITH_GDBM)
+LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
+CONFIGURE_ARGS+= --with-gdbm
+.endif
+
.if defined(WITH_OPENLDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap
More information about the Midnightbsd-cvs
mailing list