[csw-devel] SF.net SVN: gar:[17943] csw/mgar/pkg/powerdns/trunk/files/ 0003-Use-gar-instead-of-ar-for-ranlib.patch
wilbury at users.sourceforge.net
wilbury at users.sourceforge.net
Sat May 5 14:38:18 CEST 2012
Revision: 17943
http://gar.svn.sourceforge.net/gar/?rev=17943&view=rev
Author: wilbury
Date: 2012-05-05 12:38:18 +0000 (Sat, 05 May 2012)
Log Message:
-----------
Use gar instead of ar for ranlib.
Added Paths:
-----------
csw/mgar/pkg/powerdns/trunk/files/0003-Use-gar-instead-of-ar-for-ranlib.patch
Added: csw/mgar/pkg/powerdns/trunk/files/0003-Use-gar-instead-of-ar-for-ranlib.patch
===================================================================
--- csw/mgar/pkg/powerdns/trunk/files/0003-Use-gar-instead-of-ar-for-ranlib.patch (rev 0)
+++ csw/mgar/pkg/powerdns/trunk/files/0003-Use-gar-instead-of-ar-for-ranlib.patch 2012-05-05 12:38:18 UTC (rev 17943)
@@ -0,0 +1,271 @@
+From c6154d71819493358176edfb73049d85883e321e Mon Sep 17 00:00:00 2001
+From: Juraj Lutter <wilbury at opencsw.org>
+Date: Sat, 5 May 2012 14:35:37 +0200
+Subject: [PATCH] Use "gar" instead of "ar" for ranlib.
+
+---
+ codedocs/Makefile | 156 +++++++++++++++---------------
+ pdns/ext/polarssl-1.1.2/library/Makefile | 3 +
+ 2 files changed, 81 insertions(+), 78 deletions(-)
+
+diff --git a/codedocs/Makefile b/codedocs/Makefile
+index 3a7d6f5..55c6ec0 100644
+--- a/codedocs/Makefile
++++ b/codedocs/Makefile
+@@ -31,8 +31,8 @@ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-build_triplet = x86_64-unknown-linux-gnu
+-host_triplet = x86_64-unknown-linux-gnu
++build_triplet = sparc-sun-solaris2.10
++host_triplet = sparc-sun-solaris2.10
+ subdir = codedocs
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -47,51 +47,51 @@ CONFIG_CLEAN_VPATH_FILES =
+ SOURCES =
+ DIST_SOURCES =
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-ACLOCAL = ${SHELL} /home/ahu/auto-build/pdns/missing --run aclocal-1.11
+-AMTAR = ${SHELL} /home/ahu/auto-build/pdns/missing --run tar
++ACLOCAL = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run aclocal-1.11
++AMTAR = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run tar
+ AR = ar
+-AUTOCONF = ${SHELL} /home/ahu/auto-build/pdns/missing --run autoconf
+-AUTOHEADER = ${SHELL} /home/ahu/auto-build/pdns/missing --run autoheader
+-AUTOMAKE = ${SHELL} /home/ahu/auto-build/pdns/missing --run automake-1.11
++AUTOCONF = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run autoconf
++AUTOHEADER = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run autoheader
++AUTOMAKE = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run automake-1.11
+ AWK = gawk
+-BOOST_CPPFLAGS =
+-BOOST_PROGRAM_OPTIONS_LDFLAGS = -L/usr/local/lib -R/usr/local/lib
+-BOOST_PROGRAM_OPTIONS_LIBS = -lboost_program_options-mt
++BOOST_CPPFLAGS = -I/opt/csw/gxx/include
++BOOST_PROGRAM_OPTIONS_LDFLAGS = -L/opt/csw/gxx/lib -R/opt/csw/gxx/lib
++BOOST_PROGRAM_OPTIONS_LIBS = -lboost_program_options
+ BOOST_ROOT =
+-BOOST_SERIALIZATION_LDFLAGS = -L/usr/local/lib -R/usr/local/lib
+-BOOST_SERIALIZATION_LIBS = -lboost_serialization-mt
+-CC = gcc
++BOOST_SERIALIZATION_LDFLAGS = -L/opt/csw/gxx/lib -R/opt/csw/gxx/lib
++BOOST_SERIALIZATION_LIBS = -lboost_serialization
++CC = /opt/csw/bin/gcc-4.6
+ CCDEPMODE = depmode=gcc3
+ CDB_CFLAGS =
+ CDB_LIBS =
+-CFLAGS = -g -O2
+-CPP = gcc -E
+-CPPFLAGS =
+-CXX = g++
+-CXXCPP = g++ -E
++CFLAGS = -O2 -pipe -mcpu=v9
++CPP = /opt/csw/bin/gcc-4.6 -E
++CPPFLAGS = -I/opt/csw/gxx/include -I/opt/csw/include
++CXX = /opt/csw/bin/g++-4.6
++CXXCPP = /opt/csw/bin/g++-4.6 -E
+ CXXDEPMODE = depmode=gcc3
+-CXXFLAGS = -D_GNU_SOURCE -Wall -O2
++CXXFLAGS = -D_REENTRANT -O2 -pipe -mcpu=v9
+ CYGPATH_W = echo
+ DEFS = -DHAVE_CONFIG_H
+ DEPDIR = .deps
+-DISTCHECK_CONFIGURE_FLAGS = '--with-boost='
++DISTCHECK_CONFIGURE_FLAGS = '--with-boost=/opt/csw/gxx'
+ DSYMUTIL =
+ DUMPBIN =
+-DYNLINKFLAGS = -rdynamic
++DYNLINKFLAGS =
+ ECHO_C =
+ ECHO_N = -n
+ ECHO_T =
+-EGREP = /bin/grep -E
++EGREP = /opt/csw/bin/ggrep -E
+ EXEEXT =
+-FGREP = /bin/grep -F
+-GREP = /bin/grep
+-INSTALL = /usr/bin/install -c
++FGREP = /opt/csw/bin/ggrep -F
++GREP = /opt/csw/bin/ggrep
++INSTALL = /opt/csw/bin/ginstall -c
+ INSTALL_DATA = ${INSTALL} -m 644
+ INSTALL_PROGRAM = ${INSTALL}
+ INSTALL_SCRIPT = ${INSTALL}
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+-LD = /usr/bin/ld -m elf_x86_64
+-LDFLAGS = -L/opt/postgresql/lib -Wl,-rpath,/opt/postgresql/lib
++LD = /usr/ccs/bin/ld
++LDFLAGS = -L/opt/csw/lib -L/opt/csw/gxx/lib
+ LEX = flex
+ LEXLIB = -lfl
+ LEX_OUTPUT_ROOT = lex.yy
+@@ -99,21 +99,21 @@ LIBCRYPT = -lcrypt
+ LIBDL = -ldl
+ LIBLDAP = ldap_r
+ LIBOBJS =
+-LIBOPENDBX = opendbx
+-LIBS = -lz -lcrypt
++LIBOPENDBX =
++LIBS = -lposix4 -lresolv -lnsl -lsocket -lpthread -lrt -lz
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
+ LIPO =
+ LN_S = ln -s
+ LTLIBOBJS =
+-LUA_CFLAGS = -I/usr/include/lua5.1
+-LUA_LIBS = -llua5.1
+-MAKEINFO = ${SHELL} /home/ahu/auto-build/pdns/missing --run makeinfo
+-MKDIR_P = /bin/mkdir -p
+-MYSQL_incdir = /usr/include/mysql
+-MYSQL_lib =
+-NM = /usr/bin/nm -B
++LUA_CFLAGS =
++LUA_LIBS =
++MAKEINFO = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/missing --run makeinfo
++MKDIR_P = /opt/csw/bin/gmkdir -p
++MYSQL_incdir = /opt/csw/include/mysql
++MYSQL_lib = -L/opt/csw/lib
++NM = /usr/ccs/bin/nm -p
+ NMEDIT =
+-OBJDUMP = objdump
++OBJDUMP = false
+ OBJEXT = o
+ OTOOL =
+ OTOOL64 =
+@@ -125,78 +125,78 @@ PACKAGE_TARNAME =
+ PACKAGE_URL =
+ PACKAGE_VERSION =
+ PATH_SEPARATOR = :
+-PGSQL_incdir = /opt/postgresql/include
+-PGSQL_lib = -L/opt/postgresql/lib -Wl,-rpath,/opt/postgresql/lib
+-PKG_CONFIG = /usr/bin/pkg-config
++PGSQL_incdir =
++PGSQL_lib =
++PKG_CONFIG = /opt/csw/bin/pkg-config
+ RANLIB = ranlib
+-SED = /bin/sed
++SED = /opt/csw/bin/gsed
+ SET_MAKE =
+ SHELL = /bin/bash
+-SQLITE3_CFLAGS =
+-SQLITE3_LIBS = -lsqlite3
+-SQLITE_incdir = /usr/include/
++SQLITE3_CFLAGS = -I/opt/csw/include
++SQLITE3_LIBS = -L/opt/csw/lib -lsqlite3
++SQLITE_incdir =
+ SQLITE_lib =
+ STRIP = strip
+-THREADFLAGS = -pthread
+-UNIXODBC_incdir = /usr/include/
++THREADFLAGS =
++UNIXODBC_incdir =
+ UNIXODBC_lib =
+ VERSION = 3.1
+ YACC = bison -y
+ YFLAGS =
+-abs_builddir = /home/ahu/auto-build/pdns/codedocs
+-abs_srcdir = /home/ahu/auto-build/pdns/codedocs
+-abs_top_builddir = /home/ahu/auto-build/pdns
+-abs_top_srcdir = /home/ahu/auto-build/pdns
+-ac_ct_CC = gcc
+-ac_ct_CXX = g++
++abs_builddir = /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/codedocs
++abs_srcdir = /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/codedocs
++abs_top_builddir = /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1
++abs_top_srcdir = /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1
++ac_ct_CC = /opt/csw/bin/gcc-4.6
++ac_ct_CXX =
+ ac_ct_DUMPBIN =
+ am__include = include
+ am__leading_dot = .
+ am__quote =
+ am__tar = ${AMTAR} chof - "$$tardir"
+ am__untar = ${AMTAR} xf -
+-bindir = ${exec_prefix}/bin
+-build = x86_64-unknown-linux-gnu
++bindir = /opt/csw/bin
++build = sparc-sun-solaris2.10
+ build_alias =
+-build_cpu = x86_64
+-build_os = linux-gnu
+-build_vendor = unknown
++build_cpu = sparc
++build_os = solaris2.10
++build_vendor = sun
+ builddir = .
+-datadir = ${datarootdir}
++datadir = /opt/csw/share
+ datarootdir = ${prefix}/share
+ docdir = ${datarootdir}/doc/${PACKAGE}
+ dvidir = ${docdir}
+-exec_prefix = ${prefix}
+-host = x86_64-unknown-linux-gnu
++exec_prefix = /opt/csw
++host = sparc-sun-solaris2.10
+ host_alias =
+-host_cpu = x86_64
+-host_os = linux-gnu
+-host_vendor = unknown
++host_cpu = sparc
++host_os = solaris2.10
++host_vendor = sun
+ htmldir = ${docdir}
+-includedir = ${prefix}/include
+-infodir = ${datarootdir}/info
+-install_sh = ${SHELL} /home/ahu/auto-build/pdns/install-sh
+-libdir = ${exec_prefix}/lib
+-libexecdir = ${exec_prefix}/libexec
++includedir = /opt/csw/include
++infodir = /opt/csw/share/info
++install_sh = ${SHELL} /home/wilbury/b/powerdns/trunk/work/build-isa-sparcv8plus/pdns-3.1/install-sh
++libdir = /opt/csw/lib/pdns
++libexecdir = /opt/csw/libexec
+ localedir = ${datarootdir}/locale
+-localstatedir = ${prefix}/var
++localstatedir = /var/opt/csw
+ lt_ECHO = echo
+-mandir = ${datarootdir}/man
+-mkdir_p = /bin/mkdir -p
+-moduledirs = mydnsbackend gmysqlbackend mongodbbackend luabackend gpgsqlbackend xdbbackend pipebackend oraclebackend pipebackend db2backend ldapbackend gsqlitebackend gsqlite3backend geobackend goraclebackend opendbxbackend godbcbackend
+-modulelibs = -lmysqlclient -lz -lmysqlclient -L/opt/mongo/lib64/ -lmongoclient -lboost_thread -lboost_filesystem -lboost_system -llua5.1 -lpq -lssl -lcrypto -lresolv -lnsl -ltdb -L$(ORACLE_HOME)/lib -lclntsh -lldap_r -llber -lsqlite -lsqlite3 -L$(ORACLE_HOME)/lib -lclient9 -lclntst9 -lopendbx
+-moduleobjects = ../modules/mydnsbackend/mydnsbackend.o ../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o ../modules/mongodbbackend/mongodbbackend.o ../modules/mongodbbackend/minimal.o ../modules/mongodbbackend/slave.o ../modules/mongodbbackend/master.o ../modules/mongodbbackend/reload.o ../modules/mongodbbackend/private.o ../modules/mongodbbackend/dnssec.o ../modules/mongodbbackend/supermaster.o ../modules/mongodbbackend/crc32.o ../modules/luabackend/luabackend.o ../modules/luabackend/minimal.o ../modules/luabackend/reload.o ../modules/luabackend/lua_functions.o ../modules/luabackend/master.o ../modules/luabackend/private.o ../modules/luabackend/slave.o ../modules/luabackend/supermaster.o ../modules/luabackend/dnssec.o ../modules/gpgsqlbackend/gpgsqlbackend.o ../modules/gpgsqlbackend/spgsql.o ../modules/xdbbackend/xdbbackend.o ../modules/xdbbackend/xtdb.o ../modules/pipebackend/coprocess.o ../modules/pipebackend/pipebackend.o ../modules/oraclebacke
nd/oraclebackend.o ../modules/pipebackend/coprocess.o ../modules/pipebackend/pipebackend.o ../modules/db2backend/DB2Backend.o ../modules/ldapbackend/ldapbackend.o ../modules/ldapbackend/powerldap.o ../modules/gsqlitebackend/gsqlitebackend.o ../modules/gsqlitebackend/ssqlite.o ../modules/gsqlite3backend/gsqlite3backend.o ../modules/geobackend/geobackend.o ../modules/geobackend/ippreftree.o ../modules/goraclebackend/goraclebackend.o ../modules/goraclebackend/soracle.o ../modules/opendbxbackend/odbxbackend.o ../modules/opendbxbackend/odbxprivate.o
++mandir = /opt/csw/share/man
++mkdir_p = /opt/csw/bin/gmkdir -p
++moduledirs = ldapbackend geobackend gmysqlbackend gsqlite3backend pipebackend
++modulelibs = -lldap_r -llber -lmysqlclient -lsqlite3
++moduleobjects = ../modules/ldapbackend/ldapbackend.o ../modules/ldapbackend/powerldap.o ../modules/geobackend/geobackend.o ../modules/geobackend/ippreftree.o ../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o ../modules/gsqlite3backend/gsqlite3backend.o
+ oldincludedir = /usr/include
+ pdfdir = ${docdir}
+-prefix = /usr/local
++prefix = /opt/csw
+ program_transform_name = s,x,x,
+ programdescend = pdns
+ psdir = ${docdir}
+-sbindir = ${exec_prefix}/sbin
+-sharedstatedir = ${prefix}/com
++sbindir = /opt/csw/sbin
++sharedstatedir = /opt/csw/share
+ socketdir = /var/run
+ srcdir = .
+-sysconfdir = ${prefix}/etc
++sysconfdir = /etc/opt/csw/pdns
+ target_alias =
+ top_build_prefix = ../
+ top_builddir = ..
+diff --git a/pdns/ext/polarssl-1.1.2/library/Makefile b/pdns/ext/polarssl-1.1.2/library/Makefile
+index 26de4d7..efcca3e 100644
+--- a/pdns/ext/polarssl-1.1.2/library/Makefile
++++ b/pdns/ext/polarssl-1.1.2/library/Makefile
+@@ -22,6 +22,9 @@ DLEXT=so
+ # Windows shared library extension:
+ # DLEXT=dll
+
++# Solaris OpenCSW
++AR=/opt/csw/bin/gar
++
+ OBJS= aes.o arc4.o asn1parse.o \
+ base64.o bignum.o camellia.o \
+ certs.o cipher.o cipher_wrap.o \
+--
+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