summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-15 15:50:16 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-15 15:50:16 +0000
commitc1a2615dc67fee8d64fa08b37188165a8a5c90ea (patch)
tree204660586ea552706ab07b58980fa019c8eb1ea8 /mail/mutt-devel
parentUpdate to version 0.1.8 (diff)
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
Notes
Notes: svn path=/head/; revision=44039
Diffstat (limited to 'mail/mutt-devel')
-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>