head 1.3; access; symbols pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.1.0.2 pkgsrc-2017Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2018.11.27.18.21.54; author maya; state dead; branches; next 1.2; commitid CkUV77bnx0dEWB1B; 1.2 date 2018.03.16.21.06.31; author scole; state Exp; branches; next 1.1; commitid AtRuQ4JTG36v5JuA; 1.1 date 2017.11.07.17.18.25; author scole; state Exp; branches; next ; commitid hQCZEi8o8SEkY7eA; desc @@ 1.3 log @Remove line-purple. This has been marked BROKEN as using this package (a third-party client) will get your account banned. The status of this hasn't changed according to upstream, which has also intentionally broken the build. @ text @$NetBSD: patch-libpurple_Makefile,v 1.2 2018/03/16 21:06:31 scole Exp $ Modify for libtool --- libpurple/Makefile.orig 2018-02-21 13:01:04.000000000 -0800 +++ libpurple/Makefile 2018-03-16 08:32:33.000000000 -0700 @@@@ -15,10 +15,10 @@@@ CXXFLAGS = -g -Wall -Wextra -Werror -pedantic -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 @@@@ 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) $@@ @ 1.2 log @Update to nb2/20180221 which mainly fixes login issue. Use boost::make_shared instead of std::make_shared in a few places where it doesn't compile with netbsd-7/gcc4.8.5. I'm not sure, there may be a more portable way to handle. @ text @d1 1 a1 1 $NetBSD: patch-libpurple_Makefile,v 1.1 2017/11/07 17:18:25 scole Exp $ @ 1.1 log @Initial import of libpurple (Pidgin, Finch) protocol plugin for LINE version 0.1 @ text @d1 1 a1 1 $NetBSD: patch-libpurple_Makefile,v 1.1 2017/11/04 11:22:31 scole Exp $ d5 4 a8 4 --- 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 \ d16 1 a16 1 + `pkg-config --libs libidn` $(THRIFT_LIBS) d20 1 a20 1 @@@@ -39,11 +39,12 @@@@ OBJS = $(SRCS:.cpp=.o) @