Ignore error messages from locale(1), as it does not exist on OpenBSD yet.

bump PKGNAME;

from q# <eth0@o2.pl>
This commit is contained in:
robert 2005-09-27 13:37:49 +00:00
parent a44a3ced36
commit e3893b5355
2 changed files with 17 additions and 4 deletions

View File

@ -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 <robert@openbsd.org>
# 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 <bsd.port.mk>

View File

@ -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"