From owner-svn-ports-head@FreeBSD.ORG Tue May 26 12:18:19 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78A58454; Tue, 26 May 2015 12:18:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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 665D0F94; Tue, 26 May 2015 12:18:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QCIJUR014758; Tue, 26 May 2015 12:18:19 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4QCIJgY014757; Tue, 26 May 2015 12:18:19 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201505261218.t4QCIJgY014757@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 26 May 2015 12:18:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387466 - head/textproc/sdcv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 12:18:19 -0000 Author: amdmi3 Date: Tue May 26 12:18:18 2015 New Revision: 387466 URL: https://svnweb.freebsd.org/changeset/ports/387466 Log: - Mark BROKEN on pre-10.x: Error expanding embedded variable. - While here, add LICENSE_FILE Reported by: pkg-fallout Modified: head/textproc/sdcv/Makefile Modified: head/textproc/sdcv/Makefile ============================================================================== --- head/textproc/sdcv/Makefile Tue May 26 12:10:11 2015 (r387465) +++ head/textproc/sdcv/Makefile Tue May 26 12:18:18 2015 (r387466) @@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Text-based utility for work with dictionaries in StarDict's format LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= autoreconf gettext pkgconfig readline tar:bzip2 @@ -21,6 +22,12 @@ SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +.include + +.if ${OSVERSION} < 1000000 +BROKEN= does not build on < 10.x: error expanding embedded variable +.endif + post-patch: .for i in doc/sdcv.1 src/sdcv.cpp @${REINPLACE_CMD} -e \ @@ -34,4 +41,4 @@ post-patch: @${REINPLACE_CMD} '/AM_GNU_GETTEXT_VERSION/s/0\.14\.1/0.19.1/' \ ${WRKSRC}/configure.ac -.include +.include