From owner-svn-ports-head@freebsd.org Tue Sep 29 14:49:46 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48EF4A0BD10; Tue, 29 Sep 2015 14:49:46 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org (repo.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 378C71F56; Tue, 29 Sep 2015 14:49:46 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8TEnkBv023863; Tue, 29 Sep 2015 14:49:46 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8TEnkL6023862; Tue, 29 Sep 2015 14:49:46 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201509291449.t8TEnkL6023862@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Tue, 29 Sep 2015 14:49:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398181 - head/devel/libvirt 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, 29 Sep 2015 14:49:46 -0000 Author: novel Date: Tue Sep 29 14:49:45 2015 New Revision: 398181 URL: https://svnweb.freebsd.org/changeset/ports/398181 Log: Fix plist on non-amd64 archs When the arch-specific option is defined and OPTIONS_SUB is enabled, PLIST_SUB is populated accordingly on the target arch. However, on other archs PLIST_SUB is not populated and that results in a broken pkg-plist. Fix this by explicitly adding '@comment ' for the option feature if it's not in PLIST_SUB. Reported by: jgh Pointy hat to: novel Modified: head/devel/libvirt/Makefile Modified: head/devel/libvirt/Makefile ============================================================================== --- head/devel/libvirt/Makefile Tue Sep 29 14:24:09 2015 (r398180) +++ head/devel/libvirt/Makefile Tue Sep 29 14:49:45 2015 (r398181) @@ -100,6 +100,10 @@ STRIP_FILES+= lib/libvirt/connection-dri PLIST_FILES+= lib/libvirt/connection-driver/libvirt_driver_bhyve.so .endif +.if !${PLIST_SUB:MXEN} +PLIST_SUB+= XEN="@comment " +.endif + post-patch: .if ${OSVERSION} < 900000 @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||' \