aboutsummaryrefslogtreecommitdiff
path: root/mail/sylpheed3
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-02-28 20:15:44 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-02-28 20:15:44 +0000
commitb9bbaeac90bc1f8ed83f2aa3dad03db6d3148ce4 (patch)
tree8e362795d911dba6bc4d3f9e9bc86daa4f2b2ed7 /mail/sylpheed3
parenta4c0325734302c8c957fd3f5dc1c1887622940f0 (diff)
downloadports-b9bbaeac90bc1f8ed83f2aa3dad03db6d3148ce4.tar.gz
ports-b9bbaeac90bc1f8ed83f2aa3dad03db6d3148ce4.zip
Notes
Diffstat (limited to 'mail/sylpheed3')
-rw-r--r--mail/sylpheed3/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile
index b775faf6d3f3..230a3cdeda5a 100644
--- a/mail/sylpheed3/Makefile
+++ b/mail/sylpheed3/Makefile
@@ -40,12 +40,20 @@ CONFIGURE_ARGS= --enable-ipv6 \
CONFLICTS= sylpheed-1.[0-8]* sylpheed-gtk2-[0-9]*
-.if !defined(WITHOUT_SSL)
-USE_OPENSSL= yes
-.endif
+OPTIONS= GPGME "Enable GnuPG support using GPGME." off \
+ COMPFACE "Enable X-Face support." off \
+ JPILOT "Enable JPilot support." off \
+ LDAP "Enable LDAP support." off \
+ SSL "Enable OpenSSL support." off
.include <bsd.port.pre.mk>
+.if defined(WITH_SSL)
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+CONFIGURE_ARGS+=--enable-ssl
+.endif
+
.if defined(WITH_GPGME)
LIB_DEPENDS+= gpgme.14:${PORTSDIR}/security/gpgme
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
@@ -83,18 +91,6 @@ MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \
faq/it/Makefile.in manual/Makefile.in manual/en/Makefile.in \
manual/ja/Makefile.in src/Makefile.in
-pre-everything::
- @${ECHO} ""
- @${ECHO} "You may use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_GPGME=yes Enable GnuPG support using GPGME."
- @${ECHO} " WITH_COMPFACE=yes Enable X-Face support."
- @${ECHO} " WITH_JPILOT=yes Enable JPilot support."
- @${ECHO} " WITH_LDAP=yes Enable LDAP support."
- @${ECHO} ""
- @${ECHO} " WITHOUT_SSL=yes Disable OpenSSL support."
- @${ECHO} ""
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lresolv||g; s|-lpisock\"|-liconv &|g; ' ${WRKSRC}/configure