Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= e2fsprogs |
8 |
PORTNAME= e2fsprogs |
9 |
PORTVERSION= 1.35 |
9 |
PORTVERSION= 1.35 |
10 |
PORTREVISION= 3 |
10 |
PORTREVISION= 4 |
11 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-21
Link Here
|
15 |
MAINTAINER= matthias.andree@gmx.de |
15 |
MAINTAINER= matthias.andree@gmx.de |
16 |
COMMENT= Utilities and library to manipulate an ext2 or ext3 filesystem |
16 |
COMMENT= Utilities and library to manipulate an ext2 or ext3 filesystem |
17 |
|
17 |
|
18 |
.if !defined(DISABLE_NLS) |
18 |
.if !defined(WITHOUT_NLS) |
19 |
USE_GETTEXT= yes |
19 |
USE_GETTEXT= yes |
20 |
.endif |
20 |
.endif |
21 |
|
21 |
|
Lines 29-35
Link Here
|
29 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib" |
30 |
CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib" |
31 |
CONFIGURE_ENV+= CPPFLAGS='-I${WRKSRC}/lib -I${LOCALBASE}/include' |
31 |
CONFIGURE_ENV+= CPPFLAGS='-I${WRKSRC}/lib -I${LOCALBASE}/include' |
32 |
.if defined(DISABLE_NLS) |
32 |
.if defined(WITHOUT_NLS) |
33 |
CONFIGURE_ARGS+= --disable-nls |
33 |
CONFIGURE_ARGS+= --disable-nls |
34 |
PLIST_SUB= NLS="@comment " |
34 |
PLIST_SUB= NLS="@comment " |
35 |
.else |
35 |
.else |
Lines 53-62
Link Here
|
53 |
|
53 |
|
54 |
pre-everything:: |
54 |
pre-everything:: |
55 |
@${ECHO_CMD} "-------------------------------------------------------------" |
55 |
@${ECHO_CMD} "-------------------------------------------------------------" |
56 |
.if defined(DISABLE_NLS) |
56 |
.if defined(WITHOUT_NLS) |
57 |
@${ECHO_CMD} "National language support disabled, -DDISABLE_NLS in effect. " |
57 |
@${ECHO_CMD} "National language support disabled, -DWITHOUT_NLS in effect. " |
58 |
.else |
58 |
.else |
59 |
@${ECHO_CMD} "Use -DDISABLE_NLS to build without national language support." |
59 |
@${ECHO_CMD} "Use -DWITHOUT_NLS to build without national language support." |
60 |
.endif |
60 |
.endif |
61 |
@${ECHO_CMD} "-------------------------------------------------------------" |
61 |
@${ECHO_CMD} "-------------------------------------------------------------" |
62 |
|
62 |
|
Lines 65-74
Link Here
|
65 |
${WRKSRC}/${CONFIGURE_SCRIPT} |
65 |
${WRKSRC}/${CONFIGURE_SCRIPT} |
66 |
|
66 |
|
67 |
.include <bsd.port.pre.mk> |
67 |
.include <bsd.port.pre.mk> |
68 |
|
|
|
69 |
.if ${OSVERSION} < 491000 |
70 |
USE_GCC= 3.4 |
71 |
.endif |
72 |
|
68 |
|
73 |
post-patch: |
69 |
post-patch: |
74 |
${REINPLACE_CMD} -e 's|-DRESOURCE_TRACK||' ${WRKSRC}/e2fsck/Makefile.in |
70 |
${REINPLACE_CMD} -e 's|-DRESOURCE_TRACK||' ${WRKSRC}/e2fsck/Makefile.in |