svn commit: r398181 - head/devel/libvirt
Roman Bogorodskiy
novel at FreeBSD.org
Tue Sep 29 14:49:46 UTC 2015
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||' \
More information about the svn-ports-head
mailing list