pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

imv: handle PLIST with backend differences



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Sat Jan 11 15:02:14 2020 +0000
Changeset:	da805033a521a084139416d28b94fe0236d92a62

Modified Files:
	imv/PLIST
	imv/options.mk

Log Message:
imv: handle PLIST with backend differences

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da805033a521a084139416d28b94fe0236d92a62

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 imv/PLIST      | 4 ++--
 imv/options.mk | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/imv/PLIST b/imv/PLIST
index 170f488830..6e7b811569 100644
--- a/imv/PLIST
+++ b/imv/PLIST
@@ -1,8 +1,8 @@
 @comment $NetBSD$
 bin/imv
 bin/imv-msg
-bin/imv-wayland
-bin/imv-x11
+${PLIST.all}bin/imv-wayland
+${PLIST.all}bin/imv-x11
 man/man1/imv-msg.1
 man/man1/imv.1
 man/man5/imv.5
diff --git a/imv/options.mk b/imv/options.mk
index af28c0db51..8801e94a4b 100644
--- a/imv/options.mk
+++ b/imv/options.mk
@@ -19,7 +19,9 @@ MAKE_FLAGS+=		BACKEND_LIBRSVG="yes"
 MAKE_FLAGS+=		BACKEND_LIBRSVG="no"
 .endif
 
+PLIST_VARS+=		all
 .if !empty(PKG_OPTIONS:Mwayland) && !empty(PKG_OPTIONS:Mx11)
+PLIST.all=		yes
 MAKE_FLAGS+=		WINDOWS="all"
 .elif !empty(PKG_OPTIONS:Mwayland)
 MAKE_FLAGS+=		WINDOWS="wayland"


Home | Main Index | Thread Index | Old Index