aboutsummaryrefslogtreecommitdiff
path: root/devel/rhtvision
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-11-19 17:10:51 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-11-19 17:10:51 +0000
commitcea6f09f1c6ef60a47e00bae0dc6c734db04f847 (patch)
treeaf91eda9f8495ecc44639315162a2582dc276cc5 /devel/rhtvision
parent1b49d00f68c76b3460aac0f146cc2f35ed4e44ae (diff)
downloadports-cea6f09f1c6ef60a47e00bae0dc6c734db04f847.tar.gz
ports-cea6f09f1c6ef60a47e00bae0dc6c734db04f847.zip
Notes
Diffstat (limited to 'devel/rhtvision')
-rw-r--r--devel/rhtvision/Makefile10
-rw-r--r--devel/rhtvision/pkg-plist8
2 files changed, 14 insertions, 4 deletions
diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile
index 91b8032adc0d..ca73e78287bd 100644
--- a/devel/rhtvision/Makefile
+++ b/devel/rhtvision/Makefile
@@ -22,6 +22,16 @@ INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+.if !defined(WITHOUT_X11)
+USE_XLIB= yes
+PLIST_SUB+= X11_ONLY=""
+.else
+PLIST_SUB+= X11_ONLY="@comment "
+
+pre-configure:
+ ${ECHO} "HAVE_X11 => no" > ${WRKSRC}/configure.cache
+.endif
+
post-patch:
.for f in config.pl confignt.pl conflib.pl linux/compress \
linuxso/makemak.in linuxso/makemak.pl
diff --git a/devel/rhtvision/pkg-plist b/devel/rhtvision/pkg-plist
index cf960b1705d0..33504b678655 100644
--- a/devel/rhtvision/pkg-plist
+++ b/devel/rhtvision/pkg-plist
@@ -141,11 +141,11 @@ include/rhtvision/tv/video.h
include/rhtvision/tv/view.h
include/rhtvision/tv/views.h
include/rhtvision/tv/window.h
-include/rhtvision/tv/x11/key.h
-include/rhtvision/tv/x11/mouse.h
-include/rhtvision/tv/x11/screen.h
+%%X11_ONLY%%include/rhtvision/tv/x11/key.h
+%%X11_ONLY%%include/rhtvision/tv/x11/mouse.h
+%%X11_ONLY%%include/rhtvision/tv/x11/screen.h
include/rhtvision/tv/yes_mss.h
-@dirrm include/rhtvision/tv/x11
+%%X11_ONLY%%@dirrm include/rhtvision/tv/x11
@dirrm include/rhtvision/tv/linux
@dirrm include/rhtvision/tv
@dirrm include/rhtvision/cl