diff options
author | lioux <lioux@FreeBSD.org> | 2002-11-11 22:29:03 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-11-11 22:29:03 +0800 |
commit | e2d9cbd04b7460ccf38cdf4c1974807d9f11e8b2 (patch) | |
tree | e11c36db06d8d8c5deed6139b34197d954828995 /mail | |
parent | 006aa3e4891b5ebd169b3dc2d11a614e8c7c2a2c (diff) | |
download | freebsd-ports-gnome-e2d9cbd04b7460ccf38cdf4c1974807d9f11e8b2.tar.gz freebsd-ports-gnome-e2d9cbd04b7460ccf38cdf4c1974807d9f11e8b2.tar.zst freebsd-ports-gnome-e2d9cbd04b7460ccf38cdf4c1974807d9f11e8b2.zip |
o Fix build to match recent updates in GNU auto* support in bsd.port.mk
o Deploy USE_REINPLACE instead of PERL
o Fix warning messages in -CURRENT
PR: 45212
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt/Makefile | 9 | ||||
-rw-r--r-- | mail/mutt/files/patch-configure.in | 20 | ||||
-rw-r--r-- | mail/mutt14/Makefile | 9 | ||||
-rw-r--r-- | mail/mutt14/files/patch-configure.in | 20 |
4 files changed, 30 insertions, 28 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index b92de8b9820b..948ecd20c95a 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -60,7 +60,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} USE_OPENSSL= yes GNU_CONFIGURE= yes USE_AUTOMAKE= yes # configure.in is patched by <PATCHFILES> -AUTOMAKE_ARGS= --include-deps +USE_REINPLACE= 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 \ @@ -88,10 +88,11 @@ MAN5= mbox.5 muttrc.5 # this should be done automagically by aclocal but .... # for now, this will have to do pre-build: - @${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \ - s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \ + ${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ + -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \ + -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \ + -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ ${BUILD_WRKSRC}/Makefile - cd ${WRKSRC} && ${MAKE} keymap_defs.h .if !defined(NOPORTDOCS) post-build: diff --git a/mail/mutt/files/patch-configure.in b/mail/mutt/files/patch-configure.in index 20909e07a9a0..0b37933c1c62 100644 --- a/mail/mutt/files/patch-configure.in +++ b/mail/mutt/files/patch-configure.in @@ -1,5 +1,5 @@ ---- configure.in.orig Fri Jun 21 14:52:03 2002 -+++ configure.in Fri Jun 21 14:54:07 2002 +--- configure.in.orig Mon Nov 11 14:11:26 2002 ++++ configure.in Mon Nov 11 14:12:09 2002 @@ -515,7 +515,7 @@ AC_MSG_ERROR([SSL support is only useful with POP or IMAP support]) fi @@ -18,12 +18,12 @@ LDFLAGS="$LDFLAGS -L$with_sasl/lib" fi -@@ -609,6 +609,8 @@ - [if test $enableval = yes; then - AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ]) - fi]) -+ -+MUTTLIBS="$MUTTLIBS -lxpg4" +@@ -625,7 +625,7 @@ + fi]) - mutt_cv_fcntl=yes - AC_ARG_ENABLE(fcntl, [ --disable-fcntl Do NOT use fcntl() to lock files ], + if test x$GCC = xyes -a $mutt_cv_warnings = yes; then +- CFLAGS="-Wall -pedantic $CFLAGS" ++ CFLAGS="-Wall $CFLAGS" + fi + + AC_ARG_ENABLE(nfs-fix, [ --enable-nfs-fix Work around an NFS with broken attributes caching ], diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index b92de8b9820b..948ecd20c95a 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/Makefile @@ -60,7 +60,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} USE_OPENSSL= yes GNU_CONFIGURE= yes USE_AUTOMAKE= yes # configure.in is patched by <PATCHFILES> -AUTOMAKE_ARGS= --include-deps +USE_REINPLACE= 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 \ @@ -88,10 +88,11 @@ MAN5= mbox.5 muttrc.5 # this should be done automagically by aclocal but .... # for now, this will have to do pre-build: - @${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \ - s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \ + ${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ + -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \ + -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \ + -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ ${BUILD_WRKSRC}/Makefile - cd ${WRKSRC} && ${MAKE} keymap_defs.h .if !defined(NOPORTDOCS) post-build: diff --git a/mail/mutt14/files/patch-configure.in b/mail/mutt14/files/patch-configure.in index 20909e07a9a0..0b37933c1c62 100644 --- a/mail/mutt14/files/patch-configure.in +++ b/mail/mutt14/files/patch-configure.in @@ -1,5 +1,5 @@ ---- configure.in.orig Fri Jun 21 14:52:03 2002 -+++ configure.in Fri Jun 21 14:54:07 2002 +--- configure.in.orig Mon Nov 11 14:11:26 2002 ++++ configure.in Mon Nov 11 14:12:09 2002 @@ -515,7 +515,7 @@ AC_MSG_ERROR([SSL support is only useful with POP or IMAP support]) fi @@ -18,12 +18,12 @@ LDFLAGS="$LDFLAGS -L$with_sasl/lib" fi -@@ -609,6 +609,8 @@ - [if test $enableval = yes; then - AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ]) - fi]) -+ -+MUTTLIBS="$MUTTLIBS -lxpg4" +@@ -625,7 +625,7 @@ + fi]) - mutt_cv_fcntl=yes - AC_ARG_ENABLE(fcntl, [ --disable-fcntl Do NOT use fcntl() to lock files ], + if test x$GCC = xyes -a $mutt_cv_warnings = yes; then +- CFLAGS="-Wall -pedantic $CFLAGS" ++ CFLAGS="-Wall $CFLAGS" + fi + + AC_ARG_ENABLE(nfs-fix, [ --enable-nfs-fix Work around an NFS with broken attributes caching ], |