diff options
author | chris <chris> | 2005-03-25 12:05:09 +0000 |
---|---|---|
committer | chris <chris> | 2005-03-25 12:05:09 +0000 |
commit | 46bae8db17603093b354383ea54fac67a825688b (patch) | |
tree | 48a8f04885e7d8fdf3337b6f0e1f54e9cbeb838e /mail | |
parent | 2f27f6c413c80b6db4c8f9d6ba593d7053b0b743 (diff) | |
download | pkgsrc-46bae8db17603093b354383ea54fac67a825688b.tar.gz |
Switch to using PKG_OPTIONS, rather than USE_X defines.
Should be no functional change.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sylpheed/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile index 3a07d7cfa1b..b279aeed882 100644 --- a/mail/sylpheed/Makefile +++ b/mail/sylpheed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2005/03/25 02:10:52 chris Exp $ +# $NetBSD: Makefile,v 1.74 2005/03/25 12:05:09 chris Exp $ DISTNAME= sylpheed-1.0.4 CATEGORIES= mail news x11 @@ -29,10 +29,12 @@ CONFIGURE_ARGS+= --enable-compface PKG_SYSCONFSUBDIR= sylpheed CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} -.include "../../mk/bsd.prefs.mk" -BUILD_DEFS+= USE_INET6 USE_OPENLDAP USE_JPILOT +PKG_OPTIONS_VAR= PKG_OPTIONS.sylpheed +PKG_SUPPORTED_OPTIONS= jpilot ldap inet6 -.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss]) +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 @@ -45,12 +47,12 @@ FACES_IS_INSTALLED!= ${PKG_INFO} -e faces || ${ECHO} . include "../../mail/faces/buildlink3.mk" .endif -.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES +.if !empty(PKG_OPTIONS:Mldap) CONFIGURE_ARGS+= --enable-ldap .include "../../databases/openldap/buildlink3.mk" .endif -.if defined(USE_JPILOT) && ${USE_JPILOT} == YES +.if !empty(PKG_OPTIONS:Mjpilot) CONFIGURE_ARGS+= --enable-jpilot .include "../../comms/pilot-link-libs/buildlink3.mk" .include "../../comms/jpilot/buildlink3.mk" |