[csw-devel] SF.net SVN: gar:[5513] csw/mgar/pkg/x11/libxcb/trunk/Makefile

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Mon Jul 6 15:32:56 CEST 2009


Revision: 5513
          http://gar.svn.sourceforge.net/gar/?rev=5513&view=rev
Author:   wbonnet
Date:     2009-07-06 13:32:56 +0000 (Mon, 06 Jul 2009)

Log Message:
-----------
Add symlinks from /opt/csw/lib pointing to /opt/cw/X11/lib. Add CSWlibxdmcp to the depend list

Modified Paths:
--------------
    csw/mgar/pkg/x11/libxcb/trunk/Makefile

Modified: csw/mgar/pkg/x11/libxcb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/x11/libxcb/trunk/Makefile	2009-07-06 12:59:06 UTC (rev 5512)
+++ csw/mgar/pkg/x11/libxcb/trunk/Makefile	2009-07-06 13:32:56 UTC (rev 5513)
@@ -30,7 +30,7 @@
 PKGFILES_CSWlibxcbdoc   = $(PKGFILES_DOC)
 
 REQUIRED_PKGS_CSWlibxcbdevel = CSWlibxcb
-REQUIRED_PKGS_CSWlibxcb	     = CSWx11common CSWlibxau
+REQUIRED_PKGS_CSWlibxcb	     = CSWx11common CSWlibxau CSWlibxdmcp
 
 ARCHALL_CSWlibxcbdoc = 1
 
@@ -47,3 +47,14 @@
 post-install-modulated:
 	perl -pi -e 's/^(Cflags:.*)/\1 $(EXTRA_CFLAGS)/' $(DESTDIR)$(libdir)/pkgconfig/xcb.pc
 	@$(MAKECOOKIE)
+
+post-merge:
+	ginstall -d $(PKGROOT)$(BUILD_PREFIX)/lib
+	for lib in composite damage dpms glx record render res screensaver shape shm sync xevie xf86dri xfixes xinerama xprint xtest xv xvmc ; \
+	do gln -sf libxcb-$(lib).so.0.0.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb-$(lib).so.0 ; \
+	gln -sf libxcb-$(lib).so.0.0.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb-$(lib).so ; \
+	done
+	gln -sf libxcb-randr.so.1.0.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb-randr.so.1
+	gln -sf libxcb-randr.so.0.0.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb-randr.so
+	gln -sf libxcb.so.1.1.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb.so.1
+	gln -sf libxcb.so.1.1.0 $(PKGROOT)$(BUILD_PREFIX)/lib/lbxcb.so


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list