aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-02-27 07:19:05 +0800
committerjim <jim@FreeBSD.org>2002-02-27 07:19:05 +0800
commitd57c1bd8c98712ad1d77f02b7eff65ea3daf15b7 (patch)
tree928abfb1e912ffa6a72fcd3fd4fbf748d77de77a /mail/mutt-devel/Makefile
parentccfe6ed9b8073268f24d39e9c9fd525b95ee3dbb (diff)
downloadfreebsd-ports-graphics-d57c1bd8c98712ad1d77f02b7eff65ea3daf15b7.tar.gz
freebsd-ports-graphics-d57c1bd8c98712ad1d77f02b7eff65ea3daf15b7.tar.zst
freebsd-ports-graphics-d57c1bd8c98712ad1d77f02b7eff65ea3daf15b7.zip
Add the missing extra-patch-sgmlformat patch and fix a few things:
* Adding the missing patch fixes the breakage if not built without defining WITHOUT_MUTT_SGMLFORMAT. * Fix for if both WITH_MUTT_NNTP and WITH_MUTT_PGP_OUTLOOK_PATCH are defined. * Fix pkg-plist if WITH_MUTT_PGP_OUTLOOK_PATCH and WITH_MUTT_HTML are both defined. Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 8af334a0dda..eead3da635f 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -46,7 +46,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.3.27
-PORTREVISION?= 4
+PORTREVISION?= 5
CATEGORIES+= mail
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
@@ -392,7 +392,11 @@ PLIST_SUB+= SUB_ADD_G="@comment "
post-patch::
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib
.endif
-
+.if defined(MUTT_WITH_PGP_OUTLOOK_PATCH)
+PLIST_SUB+= SUB_PGP=""
+.else
+PLIST_SUB+= SUB_PGP="@comment "
+.endif
.if ${SGML_USED} == yes
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
post-patch::