aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-15 23:50:16 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-06-15 23:50:16 +0800
commitc5dd147c8ba96a63fe08a85e90f61695eacf977e (patch)
treeea714d31e42f7aa27743601d3174ad855037c2f3 /mail/mutt-devel/Makefile
parent59d298dd5b082d34e1e08aec9df9c5e372252a19 (diff)
downloadfreebsd-ports-gnome-c5dd147c8ba96a63fe08a85e90f61695eacf977e.tar.gz
freebsd-ports-gnome-c5dd147c8ba96a63fe08a85e90f61695eacf977e.tar.zst
freebsd-ports-gnome-c5dd147c8ba96a63fe08a85e90f61695eacf977e.zip
Add bsd.port.pre.mk and bsd.port.post.mk instead of bsd.port.mk in
Don't build --with-regex under -current, broken Take out configure_env and configure_target Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index ec0f85ea6ef4..cc548516ffa5 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -8,7 +8,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.3.19
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \
ftp://ftp.parodius.com/pub/mutt/devel/
@@ -18,8 +18,6 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= mutt
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${PREFIX}/share/doc/mutt \
@@ -28,6 +26,8 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
MAINTAINER= ust@cert.siemens.de
+.include <bsd.port.pre.mk>
+
USE_GMAKE= yes
USE_AUTOMAKE= yes
@@ -100,7 +100,10 @@ PATCHFILES+= patch-${PATCH_VERSION}.rr.compressed.gz \
patch-${PATCH_VERSION}.vvv.quote.gz \
patch-${PATCH_VERSION}.vvv.ru.gz
PATCH_DIST_STRIP= -p1
-CONFIGURE_ARGS+= --enable-nntp --with-regex --enable-compressed
+CONFIGURE_ARGS+= --enable-nntp --enable-compressed
+.if ${OSVERSION} < 500000 # --with-regex broken under -current
+CONFIGURE_ARGS+= --enable-compressed
+.endif
.endif
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
@@ -160,4 +163,4 @@ post-install:
.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>