summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/elmo/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/elmo/Makefile b/mail/elmo/Makefile
index 0e21aa54e254..db9e31f1436b 100644
--- a/mail/elmo/Makefile
+++ b/mail/elmo/Makefile
@@ -14,24 +14,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= elmo-devel-[0-9]*
-OPTIONS_DEFINE= GPGME NLS
-
GNU_CONFIGURE= yes
-USES= iconv ncurses shebangfix perl5
-USE_OPENSSL= yes
-USE_PERL5= run
+USES= iconv localbase ncurses shebangfix perl5 ssl
SHEBANG_FILES= src/elmoconf.pl
+USE_PERL5= run
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= GPGME NLS
+OPTIONS_SUB= yes
GPGME_DESC= GnuPG support using GPGME
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_CONFIGURE_ENV_OFF=ac_cv_header_gpgme_h=no
NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}"
NLS_CONFIGURE_OFF= --disable-nls
-NLS_USES= gettext
-OPTIONS_SUB= yes
+NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure