--- /root/e2fsprogs/Makefile Mon Oct 4 11:58:25 2004 +++ /root/e2fsprogs/Makefile Thu Jan 20 03:45:38 2005 @@ -7,7 +7,7 @@ PORTNAME= e2fsprogs PORTVERSION= 1.35 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,7 +15,7 @@ MAINTAINER= matthias.andree@gmx.de COMMENT= Utilities and library to manipulate an ext2 or ext3 filesystem -.if !defined(DISABLE_NLS) +.if !defined(WITHOUT_NLS) USE_GETTEXT= yes .endif @@ -29,7 +29,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck "--with-ldopts=-L${LOCALBASE}/lib" CONFIGURE_ENV+= CPPFLAGS='-I${WRKSRC}/lib -I${LOCALBASE}/include' -.if defined(DISABLE_NLS) +.if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls PLIST_SUB= NLS="@comment " .else @@ -53,10 +53,10 @@ pre-everything:: @${ECHO_CMD} "-------------------------------------------------------------" -.if defined(DISABLE_NLS) - @${ECHO_CMD} "National language support disabled, -DDISABLE_NLS in effect. " +.if defined(WITHOUT_NLS) + @${ECHO_CMD} "National language support disabled, -DWITHOUT_NLS in effect. " .else - @${ECHO_CMD} "Use -DDISABLE_NLS to build without national language support." + @${ECHO_CMD} "Use -DWITHOUT_NLS to build without national language support." .endif @${ECHO_CMD} "-------------------------------------------------------------" @@ -65,10 +65,6 @@ ${WRKSRC}/${CONFIGURE_SCRIPT} .include - -.if ${OSVERSION} < 491000 -USE_GCC= 3.4 -.endif post-patch: ${REINPLACE_CMD} -e 's|-DRESOURCE_TRACK||' ${WRKSRC}/e2fsck/Makefile.in --- /root/e2fsprogs/files/patch-MCONFIG--I-order Thu Jan 1 01:00:00 1970 +++ /root/e2fsprogs/files/patch-MCONFIG--I-order Thu Jan 20 03:44:20 2005 @@ -0,0 +1,34 @@ +# This is a BitKeeper generated diff -Nru style patch. +# +# ChangeSet +# 2005/01/20 03:17:31+01:00 matthias.andree@gmx.de +# MCONFIG.in: +# Rearrange -I options to give local includes precedence over +# /usr/local/include, to unbreak the build when an older +# e2fsprogs version (with includes) is installed under +# /usr/local (for instance, on FreeBSD). +# +# MCONFIG.in +# 2005/01/20 03:16:52+01:00 matthias.andree@gmx.de +2 -3 +# Rearrange -I options to give local includes precedence over +# /usr/local/include, to unbreak the build when an older +# e2fsprogs version (with includes) is installed under +# /usr/local (for instance, on FreeBSD). +# +diff -Nru a/MCONFIG.in b/MCONFIG.in +--- a/MCONFIG.in 2005-01-20 03:43:02 +01:00 ++++ b/MCONFIG.in 2005-01-20 03:43:02 +01:00 +@@ -34,11 +34,10 @@ + BUILD_CC = @BUILD_CC@ + DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + CFLAGS = @CFLAGS@ +-CPPFLAGS = @CPPFLAGS@ ++CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @CPPFLAGS@ + INTL_FLAGS = @INTL_FLAGS@ + ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \ +- $(INTL_FLAGS) -I$(top_builddir)/lib -I$(top_srcdir)/lib \ +- $(LINUX_INCLUDE) ++ $(INTL_FLAGS) $(LINUX_INCLUDE) + LDFLAGS = @LDFLAGS@ + ALL_LDFLAGS = $(LDFLAGS) + RM = @RM@