summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorgrant <grant>2002-06-01 12:17:42 +0000
committergrant <grant>2002-06-01 12:17:42 +0000
commita572e845d491a42f23195f78b0d08f8ef4c53601 (patch)
tree91d7a220fbb25686b01284be745d994400f88047 /mail
parent3f5ef9c79941e2c3eb095ee657ce2af4a651e77f (diff)
downloadpkgsrc-a572e845d491a42f23195f78b0d08f8ef4c53601.tar.gz
only enable ipv6 if USE_INET6 is defined.
this package now conflicts with sylpheed-claws.
Diffstat (limited to 'mail')
-rw-r--r--mail/sylpheed/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index b3e9fe0648e..4d3fb3ca07f 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/05/04 07:44:38 uebayasi Exp $
+# $NetBSD: Makefile,v 1.11 2002/06/01 12:17:42 grant Exp $
DISTNAME= sylpheed-0.7.5
CATEGORIES= mail news x11
@@ -9,6 +9,8 @@ MAINTAINER= oishi@ims.ac.jp
HOMEPAGE= http://sylpheed.good-day.net/index.cgi.en
COMMENT= X based e-mail and netnews client
+CONFLICTS= sylpheed-claws-*
+
BUILD_USES_MSGFMT= yes
USE_BUILDLINK_ONLY= yes
@@ -16,10 +18,16 @@ USE_GMAKE= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-nls
-CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --enable-gpgme
+.include "../../mk/bsd.prefs.mk"
+BUILD_DEFS+= USE_INET6
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
.include "../../security/gpgme/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"