Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 13:16:45 +0100 (CET)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Tim Robbins <tjr@FreeBSD.org>
Subject:   ports/63166: [MAINTAINER] sysutils/e2fsprogs: various fix-ups
Message-ID:  <20040221121645.A251F1B235@merlin.emma.line.org>
Resent-Message-ID: <200402211220.i1LCKOTC075528@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63166
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/e2fsprogs: various fix-ups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 04:20:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
FreeBSD should have ext3fs!
>Environment:
System: FreeBSD merlin.emma.line.org 5.2-CURRENT FreeBSD 5.2-CURRENT #8: Wed Feb 18 03:21:38 CET 2004
>Description:
- fix IEEE violation/SIGFPE abort on alpha that failed the f_crashdisk test
  (patch by Greg Lewis)
- fix compile failure on FreeBSD 5 when older port version is installed
  (problem reported by Tim Robbins; FreeBSD 4 was unaffected)
- ignore m_large_file test on alpha and sparc64, apparently the test
  only stumbles over a different default block size and the failure 
  isn't serious (problem reported by Greg Lewis)
- cosmetic: swap $(CC) and gmake check in post-build so check comes last
- bump PORTREVISION: the patches change the code on some systems

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- e2fsprogs-1.35.w20040131_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/Makefile /root/e2fsprogs/Makefile
--- /usr/ports/sysutils/e2fsprogs/Makefile	Sat Feb 21 13:01:51 2004
+++ /root/e2fsprogs/Makefile	Sat Feb 21 13:10:00 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	e2fsprogs
 PORTVERSION=	1.35.w20040131
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -29,7 +30,7 @@
 NO_FILTER_SHLIBS=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib"
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV+=	CPPFLAGS='-I${WRKSRC}/lib -I${LOCALBASE}/include'
 .if defined(DISABLE_NLS)
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB=	NLS="@comment "
@@ -37,6 +38,9 @@
 MAKE_ARGS+=	STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a ../lib/libblkid.a  ../lib/libuuid.a ${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
 PLIST_SUB=	NLS=""
 .endif
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+=	-mieee
+.endif
 
 CONFLICTS=	ossp-uuid-*
 
@@ -68,13 +72,16 @@
 	-e 's|group root|group wheel|' \
 	-e '/Exit status is 0/ N;s/Exit status is 0\n/Exit status is 0/' \
 	${WRKSRC}/tests/m_*/expect.1
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+	${RM} -r ${WRKSRC}/tests/m_large_file
+.endif
 
 post-configure:
 	@${CAT} ${FILESDIR}/pkg-message.in | ${SED} -e "s:%%PREFIX%%:${PREFIX}:" > ${PKGMESSAGE}
 
 post-build:
-	cd ${WRKSRC}/tests && ${GMAKE} check
 	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o ${WRKSRC}/fsck_ext2fs ${FILESDIR}/fsck_ext2fs.c
+	cd ${WRKSRC}/tests && ${GMAKE} check
 
 post-install:
 	${RM} ${PREFIX}/sbin/filefrag
--- e2fsprogs-1.35.w20040131_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040221121645.A251F1B235>