aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-27 20:58:36 +0800
committermiwi <miwi@FreeBSD.org>2008-03-27 20:58:36 +0800
commitb1d6b32c535a4ff76db6eeb56aed1453ac5ba6e8 (patch)
tree610f36b338c9bc563a19d09c941e8c5fa434ec2d /sysutils
parent4633d5fb1f05cb2c0cb0a8b2f73e243a99eef93d (diff)
downloadfreebsd-ports-gnome-b1d6b32c535a4ff76db6eeb56aed1453ac5ba6e8.tar.gz
freebsd-ports-gnome-b1d6b32c535a4ff76db6eeb56aed1453ac5ba6e8.tar.zst
freebsd-ports-gnome-b1d6b32c535a4ff76db6eeb56aed1453ac5ba6e8.zip
- Update to 1.40.8
PR: 122154 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/e2fsprogs/Makefile19
-rw-r--r--sysutils/e2fsprogs/distinfo6
2 files changed, 14 insertions, 11 deletions
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index ff9691f42e02..fcddc2c8cb7b 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= e2fsprogs
-PORTVERSION= 1.40.7
+PORTVERSION= 1.40.8
PORTREVISION?= 0
CATEGORIES?= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -51,12 +51,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB= NLS="@comment "
.else
USE_GETTEXT= yes
-# We need to make sure that anything that is outside the root file
-# system is statically linked, else we're in trouble if e2fsck is needed
-# for boot:
-MAKE_ARGS+= STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \
- ../lib/libblkid.a ../lib/libuuid.a" \
- LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
PLIST_SUB= NLS=""
.endif
@@ -69,7 +63,16 @@ post-patch::
.if ${MASTERDIR} == ${.CURDIR}
post-build:
-# Avoid a regression from 1.40.5,
+# Relink e2fsck statically - We need to make sure that tools for the root file
+# system are statically linked against anything that is outside the root fs,
+# else we're in trouble if e2fsck is needed for boot:
+# (we don't use e2fsck.static, since we can link libc.so dynamically)
+ cd ${WRKSRC}/e2fsck && ${RM} -f e2fsck \
+ && ${MAKE} e2fsck \
+ STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \
+ ../lib/libblkid.a ../lib/libuuid.a" \
+ LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
+# Regression check: avoid a port (not upstream!) regression from 1.40.5,
# check that e2fsck isn't dynalinked against anything but libc.so:
@${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects beyond libc.so: "
@a="$$(ldd ${WRKSRC}/e2fsck/e2fsck 2>/dev/null \
diff --git a/sysutils/e2fsprogs/distinfo b/sysutils/e2fsprogs/distinfo
index 7a450415f8f3..d00747eb68c4 100644
--- a/sysutils/e2fsprogs/distinfo
+++ b/sysutils/e2fsprogs/distinfo
@@ -1,3 +1,3 @@
-MD5 (e2fsprogs-1.40.7.tar.gz) = e24f9d517a2d7ba3cff29337ae73c10a
-SHA256 (e2fsprogs-1.40.7.tar.gz) = 59765723709db286abbaf6418a06b047455919593959d219b5c29ddf72ff2c05
-SIZE (e2fsprogs-1.40.7.tar.gz) = 4087067
+MD5 (e2fsprogs-1.40.8.tar.gz) = 450e2fb2461b2296fec770ff8fc147ed
+SHA256 (e2fsprogs-1.40.8.tar.gz) = 38df70f8b5ba121b11b02101cc399306a199d3c66c8185d8a2c0d07f5688eead
+SIZE (e2fsprogs-1.40.8.tar.gz) = 4102707