[csw-devel] SF.net SVN: gar:[17375] csw/mgar/pkg/mongodb/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Mar 11 15:49:42 CET 2012
Revision: 17375
http://gar.svn.sourceforge.net/gar/?rev=17375&view=rev
Author: wahwah
Date: 2012-03-11 14:49:42 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
mongodb/trunk: small refactoring
Modified Paths:
--------------
csw/mgar/pkg/mongodb/trunk/Makefile
Modified: csw/mgar/pkg/mongodb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mongodb/trunk/Makefile 2012-03-11 14:25:36 UTC (rev 17374)
+++ csw/mgar/pkg/mongodb/trunk/Makefile 2012-03-11 14:49:42 UTC (rev 17375)
@@ -39,14 +39,14 @@
BUILD_DEP_PKGS += CSWscons
BUILD_DEP_PKGS += CSWsnappy-gxx-dev
-SCONS_FLAGS += --libpath=/opt/csw/gxx/lib
-SCONS_FLAGS += --extrapath=/opt/csw,/opt/csw/gxx
-SCONS_FLAGS += --cxx=/opt/csw/bin/g++
+SCONS_FLAGS += --libpath=$(libdir)
+SCONS_FLAGS += --extrapath=$(BUILD_PREFIX),$(prefix)
+SCONS_FLAGS += --cxx=$(BUILD_PREFIX)/bin/g++
SCONS_FLAGS += --use-system-all
SCONS_FLAGS += --extralib=rt,pcre
SCONS_FLAGS += --release all
-SCONS_ENV = LIBPATH=/opt/csw/gxx/lib
+SCONS_ENV = LIBPATH=$(libdir)
include gar/category.mk
@@ -62,6 +62,6 @@
$(SCONS_ENV) \
scons \
$(SCONS_FLAGS) \
- -Q --prefix=$(DESTDIR)/opt/csw \
+ -Q --prefix=$(DESTDIR)$(BUILD_PREFIX) \
install)
@$(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