Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= e2fsprogs |
8 |
PORTNAME= e2fsprogs |
9 |
PORTVERSION= 1.40.7 |
9 |
PORTVERSION= 1.40.8 |
10 |
PORTREVISION?= 0 |
10 |
PORTREVISION?= 0 |
11 |
CATEGORIES?= sysutils |
11 |
CATEGORIES?= sysutils |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} |
Lines 51-62
Link Here
|
51 |
PLIST_SUB= NLS="@comment " |
51 |
PLIST_SUB= NLS="@comment " |
52 |
.else |
52 |
.else |
53 |
USE_GETTEXT= yes |
53 |
USE_GETTEXT= yes |
54 |
# We need to make sure that anything that is outside the root file |
|
|
55 |
# system is statically linked, else we're in trouble if e2fsck is needed |
56 |
# for boot: |
57 |
MAKE_ARGS+= STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \ |
58 |
../lib/libblkid.a ../lib/libuuid.a" \ |
59 |
LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a" |
60 |
PLIST_SUB= NLS="" |
54 |
PLIST_SUB= NLS="" |
61 |
.endif |
55 |
.endif |
62 |
|
56 |
|
Lines 69-75
Link Here
|
69 |
|
63 |
|
70 |
.if ${MASTERDIR} == ${.CURDIR} |
64 |
.if ${MASTERDIR} == ${.CURDIR} |
71 |
post-build: |
65 |
post-build: |
72 |
# Avoid a regression from 1.40.5, |
66 |
# Relink e2fsck statically - We need to make sure that tools for the root file |
|
|
67 |
# system are statically linked against anything that is outside the root fs, |
68 |
# else we're in trouble if e2fsck is needed for boot: |
69 |
# (we don't use e2fsck.static, since we can link libc.so dynamically) |
70 |
cd ${WRKSRC}/e2fsck && ${RM} -f e2fsck \ |
71 |
&& ${MAKE} e2fsck \ |
72 |
STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \ |
73 |
../lib/libblkid.a ../lib/libuuid.a" \ |
74 |
LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a" |
75 |
# Regression check: avoid a port (not upstream!) regression from 1.40.5, |
73 |
# check that e2fsck isn't dynalinked against anything but libc.so: |
76 |
# check that e2fsck isn't dynalinked against anything but libc.so: |
74 |
@${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects beyond libc.so: " |
77 |
@${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects beyond libc.so: " |
75 |
@a="$$(ldd ${WRKSRC}/e2fsck/e2fsck 2>/dev/null \ |
78 |
@a="$$(ldd ${WRKSRC}/e2fsck/e2fsck 2>/dev/null \ |