Date: Sat, 9 Feb 2008 11:10:10 +0100 (CET) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/120460: [MAINTAINER] sysutils/e2fsprogs: fix e2fsck+NLS for early boot Message-ID: <20080209101010.52C1CC6BD@merlin.emma.line.org> Resent-Message-ID: <200802091020.m19AK0UK082635@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 120460 >Category: ports >Synopsis: [MAINTAINER] sysutils/e2fsprogs: fix e2fsck+NLS for early boot >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 09 10:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #21: Mon Feb 4 16:36:03 CET >Description: - if NLS is enabled, link libintl/libiconv dependencies statically from $LOCALBASE so that e2fsck can be used again for /etc/fstab-based file system checking, i. e. before /usr (or other) are mounted. - link /sbin/fsck_ext2fs dynamically against libc.so Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- e2fsprogs-1.40.5_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/Makefile /usr/home/emma/ports/sysutils/e2fsprogs/Makefile --- /usr/ports/sysutils/e2fsprogs/Makefile 2008-02-05 19:40:51.000000000 +0100 +++ /usr/home/emma/ports/sysutils/e2fsprogs/Makefile 2008-02-09 10:58:06.000000000 +0100 @@ -7,7 +7,7 @@ PORTNAME= e2fsprogs PORTVERSION= 1.40.5 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -52,8 +52,8 @@ .else USE_GETTEXT= yes 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" + ../lib/libblkid.a ../lib/libuuid.a" \ + LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a" PLIST_SUB= NLS="" .endif @@ -69,7 +69,7 @@ .if !defined(WITHOUT_NLS) cd ${WRKSRC}/po && ${MAKE} update-gmo .endif - ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -s -static ${LIBS} \ + ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -s ${LIBS} \ -o ${WRKSRC}/fsck_ext2fs ${FILESDIR}/fsck_ext2fs.c cd ${WRKSRC}/tests && ${MAKE} check # While the ${MAKE} check can take a minute on an end user's system, the --- e2fsprogs-1.40.5_2.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?20080209101010.52C1CC6BD>