aboutsummaryrefslogtreecommitdiff
path: root/sysutils/e2fsprogs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-27 12:58:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-27 12:58:36 +0000
commit4857ab6401206e71a8a263e85195f91b72e94704 (patch)
tree1d4a7d292bff321ab19c1eaa44c5ac2bb5e15852 /sysutils/e2fsprogs
parent318673c26df6bca92f6175faf96f1165a30daed3 (diff)
downloadports-4857ab6401206e71a8a263e85195f91b72e94704.tar.gz
ports-4857ab6401206e71a8a263e85195f91b72e94704.zip
Notes
Diffstat (limited to 'sysutils/e2fsprogs')
-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