summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-02-25 16:13:28 +0000
committerjperkin <jperkin@pkgsrc.org>2013-02-25 16:13:28 +0000
commit6a6bab66efa15489cd2df983c59fee2735242a0f (patch)
tree706e6c151fc6641c41aba04007bd979e25a7add0 /graphics
parentda54e097124a15c0e23a79da4d9497457fb35277 (diff)
downloadpkgsrc-6a6bab66efa15489cd2df983c59fee2735242a0f.tar.gz
Correct PLIST for building without X11.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libotf/PLIST4
-rw-r--r--graphics/libotf/options.mk5
2 files changed, 6 insertions, 3 deletions
diff --git a/graphics/libotf/PLIST b/graphics/libotf/PLIST
index 8ff7ad72680..753817e119b 100644
--- a/graphics/libotf/PLIST
+++ b/graphics/libotf/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/02/25 16:13:28 jperkin Exp $
bin/libotf-config
bin/otfdump
bin/otflist
bin/otftobdf
-bin/otfview
+${PLIST.x11}bin/otfview
include/otf.h
lib/libotf.la
lib/pkgconfig/libotf.pc
diff --git a/graphics/libotf/options.mk b/graphics/libotf/options.mk
index 5018a52425a..fe43c3b6fcb 100644
--- a/graphics/libotf/options.mk
+++ b/graphics/libotf/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2008/02/26 11:47:35 obache Exp $
+# $NetBSD: options.mk,v 1.2 2013/02/25 16:13:28 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libotf
PKG_SUPPORTED_OPTIONS= x11
@@ -6,8 +6,11 @@ PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= x11
+
.if !empty(PKG_OPTIONS:Mx11)
.include "../../mk/xaw.buildlink3.mk"
+PLIST.x11= yes
.else
CONFIGURE_ARGS+= --without-x
.endif