aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sylpheed2-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sylpheed2-devel/Makefile')
-rw-r--r--mail/sylpheed2-devel/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile
index ccba8087c8a2..41c9ff0f9bfe 100644
--- a/mail/sylpheed2-devel/Makefile
+++ b/mail/sylpheed2-devel/Makefile
@@ -28,13 +28,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include -I${X11BASE}
CONFIGURE_ARGS= --enable-ipv6 --prefix=${PREFIX} --with-included-gettext \
--program-transform-name=''
-.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_SSL)
+USE_OPENSSL= yes
+.endif
.if defined(WITH_PIXBUF)
USE_GNOME+= gdkpixbuf
-CONFIGURE_ARGS+=--disable-imlib
.else
USE_GNOME+= imlib
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PIXBUF)
+CONFIGURE_ARGS+=--disable-imlib
+.else
CONFIGURE_ARGS+=--disable-gdk-pixbuf
.endif
.if defined(WITH_GPGME)
@@ -64,7 +72,6 @@ CONFIGURE_ARGS+=--enable-ldap
CONFIGURE_ARGS+=--disable-ldap
.endif
.if !defined(WITHOUT_SSL)
-USE_OPENSSL= yes
CONFIGURE_ARGS+=--enable-ssl
.else
CONFIGURE_ARGS+=--disable-ssl