From e3893b5355c421c9c6e885a459196e6ba873da43 Mon Sep 17 00:00:00 2001 From: robert Date: Tue, 27 Sep 2005 13:37:49 +0000 Subject: [PATCH] Ignore error messages from locale(1), as it does not exist on OpenBSD yet. bump PKGNAME; from q# --- misc/mc/Makefile | 9 +++++---- misc/mc/patches/patch-vfs_extfs_iso9660_in | 12 ++++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 misc/mc/patches/patch-vfs_extfs_iso9660_in diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 5edc87b7884..dee689f105c 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -1,17 +1,18 @@ -# $OpenBSD: Makefile,v 1.24 2005/07/31 13:51:50 robert Exp $ +# $OpenBSD: Makefile,v 1.25 2005/09/27 13:37:49 robert Exp $ COMMENT= "free Norton Commander clone with many useful features" DISTNAME= mc-4.6.1 +PKGNAME= ${DISTNAME}p0 CATEGORIES= misc HOMEPAGE= http://www.ibiblio.org/mc/ -MASTER_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/ +MASTER_SITES= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/ MAINTAINER= Robert Nagy # GPL PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes +PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c termcap @@ -26,5 +27,5 @@ CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --with-vfs --without-mcfs --enable-charset CONFIGURE_ENV= LOCALBASE=${LOCALBASE} MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config - +USE_GMAKE= Yes .include diff --git a/misc/mc/patches/patch-vfs_extfs_iso9660_in b/misc/mc/patches/patch-vfs_extfs_iso9660_in new file mode 100644 index 00000000000..dcc9ff1fb57 --- /dev/null +++ b/misc/mc/patches/patch-vfs_extfs_iso9660_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-vfs_extfs_iso9660_in,v 1.1 2005/09/27 13:37:50 robert Exp $ +--- vfs/extfs/iso9660.in.orig Tue Sep 27 15:32:16 2005 ++++ vfs/extfs/iso9660.in Tue Sep 27 15:33:26 2005 +@@ -65,7 +65,7 @@ + $ISOINFO -i "$1" -x "/$2" > "$3" + } + +-save_ctype=`locale | grep LC_CTYPE` ++save_ctype=`locale 2>/dev/null | grep LC_CTYPE` + LC_ALL=C + + cmd="$1"