From 4d1a3e1411dd6028079ea3aba3281f3f0a3bf056 Mon Sep 17 00:00:00 2001 From: novel Date: Tue, 29 Sep 2015 14:49:45 +0000 Subject: 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 --- devel/libvirt/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile index 8ff35dd00e9d..52c0813d5c50 100644 --- a/devel/libvirt/Makefile +++ b/devel/libvirt/Makefile @@ -100,6 +100,10 @@ STRIP_FILES+= lib/libvirt/connection-driver/libvirt_driver_bhyve.so 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||' \ -- cgit