mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
o Unbreak package building when system lacks libX11.
o Support WITHOUT_X11 knob.
This commit is contained in:
parent
1b49d00f68
commit
cea6f09f1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70508
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user