From owner-svn-ports-all@FreeBSD.ORG Wed Apr 2 14:08:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EB466FC; Wed, 2 Apr 2014 14:08:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62BE45E4; Wed, 2 Apr 2014 14:08:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s32E8qgG002581; Wed, 2 Apr 2014 14:08:52 GMT (envelope-from jadawin@svn.freebsd.org) Received: (from jadawin@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s32E8qEu002578; Wed, 2 Apr 2014 14:08:52 GMT (envelope-from jadawin@svn.freebsd.org) Message-Id: <201404021408.s32E8qEu002578@svn.freebsd.org> From: Philippe Audeoud Date: Wed, 2 Apr 2014 14:08:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349922 - in head/sysutils/di: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 14:08:52 -0000 Author: jadawin Date: Wed Apr 2 14:08:51 2014 New Revision: 349922 URL: http://svnweb.freebsd.org/changeset/ports/349922 QAT: https://qat.redports.org/buildarchive/r349922/ Log: - Use gettext - Fix ln in patch PR: ports/188151 Submitted by: maintainer Reported by: marino@ Modified: head/sysutils/di/Makefile head/sysutils/di/files/patch-Makefile Modified: head/sysutils/di/Makefile ============================================================================== --- head/sysutils/di/Makefile Wed Apr 2 14:08:26 2014 (r349921) +++ head/sysutils/di/Makefile Wed Apr 2 14:08:51 2014 (r349922) @@ -3,6 +3,7 @@ PORTNAME= di PORTVERSION= 4.35 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.gentoo.com/di/ \ http://www.cyberbotx.com/di/ @@ -13,16 +14,10 @@ COMMENT= Disk Information Utility MAKE_ENV+= prefix="${PREFIX}" OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB= NLS="" -.else -PLIST_SUB= NLS="@comment " -MAKE_ENV+= DI_NO_NLS=T -.endif +NLS_USES= gettext +NLS_MAKE_ENV_OFF= DI_NO_NLS=T post-patch: @${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/C/di.c Modified: head/sysutils/di/files/patch-Makefile ============================================================================== --- head/sysutils/di/files/patch-Makefile Wed Apr 2 14:08:26 2014 (r349921) +++ head/sysutils/di/files/patch-Makefile Wed Apr 2 14:08:51 2014 (r349922) @@ -1,5 +1,5 @@ ---- Makefile.orig 2014-02-15 12:14:49.000000000 -0500 -+++ Makefile 2014-03-03 16:00:53.000000000 -0500 +--- ./Makefile.orig 2014-02-15 12:14:49.000000000 -0500 ++++ ./Makefile 2014-03-31 20:03:46.000000000 -0400 @@ -36,12 +36,12 @@ ### # installation options @@ -24,3 +24,12 @@ DI_MANDIR = $(DI_MANINSTDIR)/man1 MAN_TARGET = $(PROG).1 MANPERM = 644 +@@ -140,7 +140,7 @@ + $(TEST) -d $(INSTALL_BIN_DIR) || $(MKDIR) $(INSTALL_BIN_DIR) + $(CP) -f ./$(FROMDIR)/$(PROG)$(EXE_EXT) $(TARGET) + -$(RM) -f $(MTARGET) > /dev/null 2>&1 +- -$(LN) -s $(PROG)$(EXE_EXT) $(MTARGET) ++ -( cd $(INSTALL_BIN_DIR) && $(LN) -s $(PROG)$(EXE_EXT) $(MPROG)$(EXE_EXT) ) + @-test -f $(FROMDIR)/config.h && \ + grep '^#define _enable_nls 1' $(FROMDIR)/config.h >/dev/null 2>&1 && \ + (. ./$(FROMDIR)/di.env; $(MAKE) -e INST_LOCALEDIR="$(INST_LOCALEDIR)" \