From 5bc8089bcf0fc09af2bda4ee9768ebf8d5941d47 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 26 Jul 2006 19:11:36 +0000 Subject: patch from Biucchi Gabriele: Some programs (like rxvt) need x-includes and x-libraries in $(STAGING_DIR)/usr/X11R6/ , but tinyx.mk does not install anything there. copy everything from $(TINYX_DIR)/exports/ into $(STAGING_DIR)/usr/X11R6/ --- package/tinyx/tinyx.mk | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'package/tinyx') diff --git a/package/tinyx/tinyx.mk b/package/tinyx/tinyx.mk index 29972ee53..922bacc1f 100644 --- a/package/tinyx/tinyx.mk +++ b/package/tinyx/tinyx.mk @@ -100,8 +100,17 @@ $(TINYX_XFBDEV): $(TINYX_DIR)/.configure ( cd $(TINYX_DIR) ; $(MAKE) World ) # -# Once Frame Buffer is built, we install executables. +# Install x-includes and x-libraries in $(STAGING_DIR)/usr/X11R6/ +# and add a symbolic link between /usr/bin/X11 and /usr/X11R6/bin +$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2: $(TINYX_XFBDEV) + mkdir -p $(STAGING_DIR)/usr/X11R6/lib + mkdir -p $(STAGING_DIR)/usr/X11R6/include + cp -fRL $(TINYX_DIR)/exports/include/* $(STAGING_DIR)/usr/X11R6/include/ + cp -fRL $(TINYX_DIR)/exports/lib/* $(STAGING_DIR)/usr/X11R6/lib/ + ln -s /usr/X11R6/bin $(TARGET_DIR)/usr/bin/X11 + # +# Once Frame Buffer is built, we install executables. $(TINYX_BINX)/Xfbdev: $(TINYX_XFBDEV) -mkdir $(TARGET_DIR)/usr/X11R6 -mkdir $(TINYX_BINX) @@ -116,7 +125,6 @@ $(TINYX_BINX)/Xfbdev: $(TINYX_XFBDEV) # # After we have executables installed, install the libraries. -# $(TINYX_LIBX)/libX11.so.6.2: $(TINYX_XFBDEV) for dirs in $(TINYX_LIBS) ; do \ file=`find $(TINYX_LDIR)/$$dirs -type f -iname "lib$$dirs.so*"` ; \ @@ -126,7 +134,8 @@ $(TINYX_LIBX)/libX11.so.6.2: $(TINYX_XFBDEV) cp -pRf $$file $(TINYX_LIBX) ; \ done -tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev +tinyx: zlib $(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2 \ + $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev tinyx-source: $(DL_DIR)/$(TINYX_SOURCE) -- cgit v1.2.3