[csw-devel] SF.net SVN: gar:[4226] csw/mgar/pkg/xterm/trunk/Makefile

skayser at users.sourceforge.net skayser at users.sourceforge.net
Wed Apr 8 15:26:11 CEST 2009


Revision: 4226
          http://gar.svn.sourceforge.net/gar/?rev=4226&view=rev
Author:   skayser
Date:     2009-04-08 13:26:11 +0000 (Wed, 08 Apr 2009)

Log Message:
-----------
xterm: fix double /opt/csw/lib entry in R*PATH

Modified Paths:
--------------
    csw/mgar/pkg/xterm/trunk/Makefile

Modified: csw/mgar/pkg/xterm/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xterm/trunk/Makefile	2009-04-08 12:56:18 UTC (rev 4225)
+++ csw/mgar/pkg/xterm/trunk/Makefile	2009-04-08 13:26:11 UTC (rev 4226)
@@ -52,6 +52,12 @@
 
 include gar/category.mk
 
+# Hack for now to address the double /opt/csw/lib in $R*PATH. One comes
+# from LD_OPTIONS and this one from pkg-config i suppose.
+pre-build-modulated:
+	@perl -pi -e 's|-R/opt/csw/lib ||' $(WORKSRC)/Makefile
+	@$(MAKECOOKIE)
+
 post-install-modulated:
 	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
 	@cp $(FILEDIR)/README.CSW $(DESTDIR)$(docdir)/$(GARNAME)


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