Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= e2fsprogs |
8 |
PORTNAME= e2fsprogs |
9 |
PORTVERSION= 1.35.w20040131 |
9 |
PORTVERSION= 1.35.w20040131 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 29-35
Link Here
|
29 |
NO_FILTER_SHLIBS= yes |
30 |
NO_FILTER_SHLIBS= yes |
30 |
GNU_CONFIGURE= yes |
31 |
GNU_CONFIGURE= yes |
31 |
CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib" |
32 |
CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib" |
32 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" |
33 |
CONFIGURE_ENV+= CPPFLAGS='-I${WRKSRC}/lib -I${LOCALBASE}/include' |
33 |
.if defined(DISABLE_NLS) |
34 |
.if defined(DISABLE_NLS) |
34 |
CONFIGURE_ARGS+= --disable-nls |
35 |
CONFIGURE_ARGS+= --disable-nls |
35 |
PLIST_SUB= NLS="@comment " |
36 |
PLIST_SUB= NLS="@comment " |
Lines 37-42
Link Here
|
37 |
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" |
38 |
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" |
38 |
PLIST_SUB= NLS="" |
39 |
PLIST_SUB= NLS="" |
39 |
.endif |
40 |
.endif |
|
|
41 |
.if ${MACHINE_ARCH} == "alpha" |
42 |
CFLAGS+= -mieee |
43 |
.endif |
40 |
|
44 |
|
41 |
CONFLICTS= ossp-uuid-* |
45 |
CONFLICTS= ossp-uuid-* |
42 |
|
46 |
|
Lines 68-80
Link Here
|
68 |
-e 's|group root|group wheel|' \ |
72 |
-e 's|group root|group wheel|' \ |
69 |
-e '/Exit status is 0/ N;s/Exit status is 0\n/Exit status is 0/' \ |
73 |
-e '/Exit status is 0/ N;s/Exit status is 0\n/Exit status is 0/' \ |
70 |
${WRKSRC}/tests/m_*/expect.1 |
74 |
${WRKSRC}/tests/m_*/expect.1 |
|
|
75 |
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" |
76 |
${RM} -r ${WRKSRC}/tests/m_large_file |
77 |
.endif |
71 |
|
78 |
|
72 |
post-configure: |
79 |
pre-install: |
73 |
@${CAT} ${FILESDIR}/pkg-message.in | ${SED} -e "s:%%PREFIX%%:${PREFIX}:" > ${PKGMESSAGE} |
80 |
${RM} -f ${PKGMESSAGE} |
|
|
81 |
${SED} -e "s:%%PREFIX%%:${PREFIX}:" ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} |
74 |
|
82 |
|
75 |
post-build: |
83 |
post-build: |
76 |
cd ${WRKSRC}/tests && ${GMAKE} check |
|
|
77 |
${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o ${WRKSRC}/fsck_ext2fs ${FILESDIR}/fsck_ext2fs.c |
84 |
${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o ${WRKSRC}/fsck_ext2fs ${FILESDIR}/fsck_ext2fs.c |
|
|
85 |
cd ${WRKSRC}/tests && ${GMAKE} check |
78 |
|
86 |
|
79 |
post-install: |
87 |
post-install: |
80 |
${RM} ${PREFIX}/sbin/filefrag |
88 |
${RM} ${PREFIX}/sbin/filefrag |