ports/78362: Update port: mail/courier-authlib migrate to OPTIONS
Marcus Grando
marcus at corp.grupos.com.br
Thu Mar 3 14:40:21 UTC 2005
>Number: 78362
>Category: ports
>Synopsis: Update port: mail/courier-authlib migrate to OPTIONS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 03 14:40:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #42: Sun Feb 27 20:04:47 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: mail/courier-authlib migrate to OPTIONS
* Migrate knobs to OPTIONS
>How-To-Repeat:
>Fix:
--- courier-authlib.patch begins here ---
diff -ruN courier-authlib.old/Makefile courier-authlib/Makefile
--- courier-authlib.old/Makefile Tue Mar 1 23:28:51 2005
+++ courier-authlib/Makefile Thu Mar 3 11:16:47 2005
@@ -24,19 +24,15 @@
USE_LIBTOOL_VER=15
USE_LIBLTDL= yes
-#
-# options available:
-#
-# WITHOUT_PAM: Don't build in PAM support
-# WITH_VPOPMAIL: Build in vpopmail support
-# WITH_MYSQL: Build in mysql support
-# WITH_POSTGRESQL: Build in postgresql support
-# WITH_LDAP: Build in ldap support with openldap
-# WITH_GDBM: Use gdbm files instead of bdb
-# WITH_MAILUSER: The user running authlib
-# WITH_MAILGROUP: The group running authlib
-# WITHOUT_AUTHUSERDB: Don't build in authuserdb
-#
+OPTIONS= PAM "Build with PAM support" on \
+ VPOPMAIL "Build in vpopmail support" off \
+ MYSQL "Build in mysql support" off \
+ POSTGRESQL "Build in postgresql support" off \
+ LDAP "Build in ldap support with openldap" off \
+ GDBM "Use gdbm files instead of bdb" off \
+ MAILUSER "The user running authlib" off \
+ MAILGROUP "The group running authlib" off \
+ AUTHUSERDB "Build with authuserdb" on
VPOPMAILDIR?= ${LOCALBASE}/vpopmail
@@ -50,6 +46,8 @@
--enable-unicode \
--enable-ltdl-install=no
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GDBM)
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
CONFIGURE_ARGS+= --with-db=gdbm
@@ -116,9 +114,6 @@
.if defined(WITH_MAILGROUP)
CONFIGURE_ARGS+=--with-mailgroup=${WITH_MAILGROUP}
.endif
-
-
-.include <bsd.port.pre.mk>
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
--- courier-authlib.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list