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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Mar 6 23:19:18 CET 2011


Revision: 13620
          http://gar.svn.sourceforge.net/gar/?rev=13620&view=rev
Author:   bdwalton
Date:     2011-03-06 22:19:18 +0000 (Sun, 06 Mar 2011)

Log Message:
-----------
gettext/trunk: add creation of the opt/csw/gnu symlinks; Mantis 4455

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

Modified: csw/mgar/pkg/gettext/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gettext/trunk/Makefile	2011-03-06 22:18:19 UTC (rev 13619)
+++ csw/mgar/pkg/gettext/trunk/Makefile	2011-03-06 22:19:18 UTC (rev 13620)
@@ -235,6 +235,15 @@
 	$(MAKECOOKIE)
 
 post-merge:
+	@echo "Setting up gnu links..."
+	@(cd $(PKGROOT)$(prefix); \
+		mkdir gnu; cd gnu; \
+		for f in ../bin/g*; do \
+			echo Linking $$f; \
+			base=$$(basename $$f); \
+			gln -s $$f ./$${base/g/}; \
+		done )
+	@echo "Fixing usr/local and usr/share references..."
 	@(cd $(PKGROOT); \
 		find .$(docdir) .$(datadir)/aclocal -type f -print0 | \
 		xargs -0 perl -pi \


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