[csw-devel] SF.net SVN: gar:[18052] csw/mgar/pkg/leveldb/trunk
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sat May 19 00:18:00 CEST 2012
Revision: 18052
http://gar.svn.sourceforge.net/gar/?rev=18052&view=rev
Author: wahwah
Date: 2012-05-18 22:17:59 +0000 (Fri, 18 May 2012)
Log Message:
-----------
leveldb/trunk: Initial commit. There's still a problem with the soname
Modified Paths:
--------------
csw/mgar/pkg/leveldb/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/leveldb/trunk/files/0001-Set-Solaris-linker-flags.patch
Modified: csw/mgar/pkg/leveldb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/leveldb/trunk/Makefile 2012-05-18 22:14:22 UTC (rev 18051)
+++ csw/mgar/pkg/leveldb/trunk/Makefile 2012-05-18 22:17:59 UTC (rev 18052)
@@ -20,6 +20,8 @@
PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+PATCHFILES += 0001-Set-Solaris-linker-flags.patch
+
CONFIGURE_ARGS = $(DIRPATHS)
prefix = $(BUILD_PREFIX)/gxx
@@ -29,7 +31,17 @@
BUILD64 = 1
CONFIGURE_SCRIPTS =
+INSTALL_SCRIPTS = custom
include gar/category.mk
+install-custom:
+ ginstall -d -m 755 $(DESTDIR)$(libdir)
+ for f in $(WORKSRC)/libleveldb.*; do \
+ gcp -v $${f} $(DESTDIR)$(libdir); \
+ done
+ ginstall -d -m 755 $(DESTDIR)$(includedir)
+ rsync -rv $(WORKSRC)/include/ $(DESTDIR)$(includedir)
+ @$(MAKECOOKIE)
+
PATH := /opt/csw/gnu:$(PATH)
Added: csw/mgar/pkg/leveldb/trunk/files/0001-Set-Solaris-linker-flags.patch
===================================================================
--- csw/mgar/pkg/leveldb/trunk/files/0001-Set-Solaris-linker-flags.patch (rev 0)
+++ csw/mgar/pkg/leveldb/trunk/files/0001-Set-Solaris-linker-flags.patch 2012-05-18 22:17:59 UTC (rev 18052)
@@ -0,0 +1,24 @@
+From 97e162dcc7466ad14212556a0871b4c4bac81369 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Wed, 9 May 2012 14:10:10 +0200
+Subject: [PATCH] Set Solaris linker flags
+
+---
+ build_detect_platform | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/build_detect_platform b/build_detect_platform
+index b71bf02..0dee312 100755
+--- a/build_detect_platform
++++ b/build_detect_platform
+@@ -59,6 +59,7 @@ case "$TARGET_OS" in
+ PLATFORM=OS_SOLARIS
+ COMMON_FLAGS="-fno-builtin-memcmp -D_REENTRANT -DOS_SOLARIS"
+ PLATFORM_LDFLAGS="-lpthread -lrt"
++ PLATFORM_SHARED_LDFLAGS="-shared -Wl,-h -Wl,"
+ PORT_FILE=port/port_posix.cc
+ ;;
+ FreeBSD)
+--
+1.7.10
+
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