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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Nov 24 17:29:41 CET 2009


Revision: 7407
          http://gar.svn.sourceforge.net/gar/?rev=7407&view=rev
Author:   wahwah
Date:     2009-11-24 16:29:40 +0000 (Tue, 24 Nov 2009)

Log Message:
-----------
nspr: Revert to the dumb but working way of symlinking 64 --> sparcv9

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

Modified: csw/mgar/pkg/nspr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nspr/trunk/Makefile	2009-11-24 16:17:03 UTC (rev 7406)
+++ csw/mgar/pkg/nspr/trunk/Makefile	2009-11-24 16:29:40 UTC (rev 7407)
@@ -97,6 +97,10 @@
 
 # Create symlinks allowing to use -L/opt/csw/lib/nspr/64 for 64-bit
 # architectures.
-post-merge-modulated:
-	gln -s "$(ISA_DEFAULT_64)" "$(PKGROOT)$(libdir)/64"
+post-merge:
+	if [ "$(GARCH)" = sparc ]; then \
+		gln -sf sparc9 $(PKGROOT)$(libdir)/64; \
+	elif [ "$(GARCH)" = i386 ]; then \
+		gln -sf amd64 $(PKGROOT)$(libdir)/64; \
+	fi
 	@$(MAKECOOKIE)


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