[csw-devel] SF.net SVN: gar:[7366] csw/mgar/pkg/nspr/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sat Nov 21 09:48:44 CET 2009
Revision: 7366
http://gar.svn.sourceforge.net/gar/?rev=7366&view=rev
Author: wahwah
Date: 2009-11-21 08:48:44 +0000 (Sat, 21 Nov 2009)
Log Message:
-----------
nspr: headers in include/nspr, better CSWnspr-devel package.
Modified Paths:
--------------
csw/mgar/pkg/nspr/trunk/Makefile
Modified: csw/mgar/pkg/nspr/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nspr/trunk/Makefile 2009-11-20 21:36:21 UTC (rev 7365)
+++ csw/mgar/pkg/nspr/trunk/Makefile 2009-11-21 08:48:44 UTC (rev 7366)
@@ -14,9 +14,10 @@
PATCHFILES = nspr-4.6.1-config.patch
PACKAGES = CSWnspr CSWnspr-devel
-PKGFILES_CSWnspr-devel = $(PKGFILES_DEVEL)
+PKGFILES_CSWnspr-devel = $(PKGFILES_DEVEL)
PKGFILES_CSWnspr-devel += $(bindir).*nspr-config
-PKGFILES_CSWnspr-devel += $(prefix)/pkgconfig/nspr\.pc
+PKGFILES_CSWnspr-devel += .*/nspr\.pc
+PKGFILES_CSWnspr-devel += .*compile-et\.pl
SPKG_DESC_CSWnspr = Netscape Portable Runtime
SPKG_DESC_CSWnspr-devel = Netscape Portable Runtime development files
@@ -38,19 +39,26 @@
libdir = $(prefix)/lib/nspr
localstatedir = /var/opt/csw
sysconfdir = /etc/opt/csw
+# Move the include files to include/nspr to prevent polluting the main
+# header file namespace.
+includedir = $(prefix)/include/nspr
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-mozilla
-CONFIGURE_ARGS += --disable-debug
-CONFIGURE_ARGS += --enable-strip
CONFIGURE_ARGS += --with-native-threads
CONFIGURE_ARGS += --enable-ipv6
-CONFIGURE_ARGS += --enable-optimize="-xO3"
-CONFIGURE_ARGS += --disable-tests
CONFIGURE_ARGS += --enable-system-sqlite
CONFIGURE_ARGS_isa-sparcv9 = --enable-64bit
CONFIGURE_ARGS_isa-amd64 = --enable-64bit
CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(MODULATION))
+CONFIGURE_ARGS_OPT = --enable-optimize="-xO3"
+CONFIGURE_ARGS_OPT += --disable-debug
+CONFIGURE_ARGS_OPT += --enable-strip
+CONFIGURE_ARGS_OPT += --disable-tests
+CONFIGURE_ARGS_DBG = --enable-debug
+CONFIGURE_ARGS_DBG += --disable-strip
+CONFIGURE_ARGS_DBG += --enable-tests
+CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(GARFLAVOR))
# These options I'm unsure about, are they really needed?
# EXTRA_LDFLAGS = -R'\$\$ORIGIN:\$\$ORIGIN/..' -R/opt/csw/lib
@@ -89,5 +97,4 @@
$(DESTDIR)$(libdir)/pkgconfig
rm $(DESTDIR)$(bindir)/prerr.properties
rm $(DESTDIR)$(bindir)/nspr.pc
- rm $(DESTDIR)$(bindir)/compile-et.pl
@$(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