pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/line-purple/patches Initial import of libpurple (...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a3f5a3cb1a2
branches: trunk
changeset: 371226:5a3f5a3cb1a2
user: scole <scole%pkgsrc.org@localhost>
date: Tue Nov 07 17:18:25 2017 +0000
description:
Initial import of libpurple (Pidgin, Finch) protocol plugin for LINE
version 0.1
diffstat:
chat/line-purple/patches/patch-libpurple_Makefile | 35 +++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diffs (39 lines):
diff -r c08d9659ffde -r 5a3f5a3cb1a2 chat/line-purple/patches/patch-libpurple_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/line-purple/patches/patch-libpurple_Makefile Tue Nov 07 17:18:25 2017 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-libpurple_Makefile,v 1.1 2017/11/07 17:18:25 scole Exp $
+
+Modify for libtool
+
+--- libpurple/Makefile.orig 2017-03-30 23:35:47.000000000 +0000
++++ libpurple/Makefile 2017-07-04 11:22:31.000000000 +0000
+@@ -15,10 +15,10 @@ CXX ?= g++
+ CXXFLAGS = -g -Wall -shared -fPIC \
+ -DHAVE_INTTYPES_H -DHAVE_CONFIG_H -DPURPLE_PLUGINS \
+ `pkg-config --cflags purple` `libgcrypt-config --cflags` `gpg-error-config --cflags` \
+- $(THRIFT_CXXFLAGS)
++ `pkg-config --cflags libidn` $(THRIFT_CXXFLAGS)
+
+ LIBS = `pkg-config --libs purple` `libgcrypt-config --libs` `gpg-error-config --libs` \
+- $(THRIFT_LIBS)
++ `pkg-config --libs libidn` $(THRIFT_LIBS)
+
+ PURPLE_PLUGIN_DIR:=$(shell pkg-config --variable=plugindir purple)
+ PURPLE_DATA_ROOT_DIR:=$(shell pkg-config --variable=datarootdir purple)
+@@ -39,11 +39,12 @@ OBJS = $(SRCS:.cpp=.o)
+ all: $(MAIN)
+
+ $(MAIN): $(OBJS) $(THRIFT_DEP)
+- $(CXX) $(CXXFLAGS) -Wl,-z,defs -o $(MAIN) $(OBJS) $(LIBS)
+- strip $(MAIN)
++ $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) \
++ -module -avoid-version -o $(MAIN:.so=.la) $(OBJS:.o=.lo) $(LIBS:.a=.la) \
++ -rpath $(PREFIX)/lib/purple-2
+
+ .cpp.o:
+- $(CXX) $(CXXFLAGS) -std=c++11 -c $< -o $@
++ $(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) -std=c++11 -c $< -o $@
+
+ # The Thrift generator generates three files at once, this file shall represent them.
+ thrift_line/TalkService.cpp: line.thrift $(THRIFT_DEP) $@
Home |
Main Index |
Thread Index |
Old Index