diff options
Diffstat (limited to 'mail/lbdb/Makefile')
-rw-r--r-- | mail/lbdb/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/mail/lbdb/Makefile b/mail/lbdb/Makefile index c174beb863d9..6a6a4f16e271 100644 --- a/mail/lbdb/Makefile +++ b/mail/lbdb/Makefile @@ -3,7 +3,7 @@ PORTNAME= lbdb PORTVERSION= 0.39 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.spinnaker.de/debian/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -25,12 +25,20 @@ CONFIGURE_ARGS= --enable-lbdb-dotlock \ MAKE_ARGS= install_prefix=${STAGEDIR} USES= gmake perl5 -.include <bsd.port.options.mk> - .if exists (/usr/bin/getent) -WITH_GETENT= yes +PLIST_SUB+= GETENT="" +.else +PLIST_SUB+= GETENT="@comment " +.endif + +.if exists (/usr/bin/ypcat) +PLIST_SUB+= YPCAT="" +.else +PLIST_SUB+= YPCAT="@comment " .endif +.include <bsd.port.options.mk> + .if ${PORT_OPTIONS:MGPG} BUILD_DEPENDS+= gpg:security/gnupg RUN_DEPENDS+= gpg:security/gnupg @@ -55,12 +63,6 @@ PLIST_SUB+= EVOLUTION="" PLIST_SUB+= EVOLUTION="@comment " .endif -.if ${PORT_OPTIONS:MGETENT} -PLIST_SUB+= GETENT="" -.else -PLIST_SUB+= GETENT="@comment " -.endif - .if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= p5-perl-ldap>=0:net/p5-perl-ldap .endif |