small bug in apache2 port, patch included

richardcoleman at mindspring.com richardcoleman at mindspring.com
Sun Nov 30 19:33:04 PST 2003


Here is a small patch for the Makefile.modules in the FreeBSD apache2
port.  Otherwise, the WITH_DBM option shown with "make show-options"
does not match the Makefiles.

Also sent to the port maintainer.

Richard Coleman
richardcoleman at mindspring.com


--- Makefile.modules.old	Sun Nov 30 22:21:15 2003
+++ Makefile.modules	Sun Nov 30 22:22:29 2003
@@ -68,7 +68,7 @@
 # xDBM section
 #
 .if !defined(WITH_DBM) && defined(WITH_BERKELEYDB)
-WITH_DBM=db
+WITH_DBM=bdb
 .endif
 .if defined(WITH_DBM) && !defined(WITH_BERKELEYDB)
 WITH_BERKELEYDB=	FreeBSD
@@ -80,7 +80,7 @@
 .   elif ${WITH_DBM:L} == "gdbm"
 LIB_DEPENDS+=		gdbm.3:${PORTSDIR}/databases/gdbm
 CONFIGURE_ARGS+=	--with-gdbm=${LOCALBASE}
-.   elif ${WITH_DBM:L} == "db" 
+.   elif ${WITH_DBM:L} == "bdb" 
 .       if ${WITH_BERKELEYDB} == "FreeBSD"
 CONFIGURE_ARGS+=	--with-dbm=db185 \
 			--with-berkeley-db=/usr


More information about the freebsd-ports mailing list