Date: Tue, 29 Sep 2015 14:49:46 +0000 (UTC) From: Roman Bogorodskiy <novel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398181 - head/devel/libvirt Message-ID: <201509291449.t8TEnkL6023862@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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||' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509291449.t8TEnkL6023862>