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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Feb 27 02:09:37 CET 2010


Revision: 8858
          http://gar.svn.sourceforge.net/gar/?rev=8858&view=rev
Author:   wahwah
Date:     2010-02-27 01:09:37 +0000 (Sat, 27 Feb 2010)

Log Message:
-----------
nspr: Adding 64-bit pkgconfig file

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

Modified: csw/mgar/pkg/nspr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nspr/trunk/Makefile	2010-02-27 00:20:05 UTC (rev 8857)
+++ csw/mgar/pkg/nspr/trunk/Makefile	2010-02-27 01:09:37 UTC (rev 8858)
@@ -29,12 +29,11 @@
 PKGFILES_CSWnspr-devel += .*/nspr\.pc
 PKGFILES_CSWnspr-devel += .*compile-et\.pl
 
-ARCHALL_CSWnspr-devel = 1
-
 SPKG_DESC_CSWnspr = Netscape Portable Runtime
 SPKG_DESC_CSWnspr-devel = Netscape Portable Runtime header files
 CATALOGNAME_CSWnspr-devel = nspr_devel
-RUNTIME_DEP_PKGS_CSWnspr-devel = CSWnspr
+RUNTIME_DEP_PKGS_CSWnspr-devel  = CSWnspr
+RUNTIME_DEP_PKGS_CSWnspr-devel += CSWperl
 
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
@@ -68,6 +67,8 @@
 
 BUILD64 = 1
 
+LICENSE = LICENSE
+
 include gar/category.mk
 
 configure-nspr:
@@ -98,9 +99,12 @@
 	ginstall -m 755 -d $(DESTDIR)$(bindir)
 	ginstall -m 755 $(WORKSRC)/build/config/nspr-config \
 		$(DESTDIR)$(bindir)
-	ginstall -m 755 -d $(DESTDIR)$(prefix)/lib/pkgconfig
+	ginstall -m 755 -d $(DESTDIR)$(libdir)/pkgconfig
 	ginstall -m 644 $(WORKSRC)/build/config/nspr.pc \
-		$(DESTDIR)$(prefix)/lib/pkgconfig
+		$(DESTDIR)$(libdir)/pkgconfig
+	if [ $(MEMORYMODEL) = 64 ]; then \
+		gsed -i -e 's+/lib$$+lib/64+' $(DESTDIR)$(libdir)/pkgconfig/nspr.pc ; \
+	fi
 	rm -f $(DESTDIR)$(bindir)/prerr.properties
 	rm -f $(DESTDIR)$(bindir)/nspr.pc
 	@$(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