1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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
This commit is contained in:
David W. Chapman Jr. 2001-06-15 15:50:16 +00:00
parent 9f858e4981
commit c1a2615dc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44039

View File

@ -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>