pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/line-purple/patches



Module Name:    pkgsrc
Committed By:   scole
Date:           Tue Nov  7 17:18:25 UTC 2017

Added Files:
        pkgsrc/chat/line-purple/patches: patch-libpurple_Makefile

Log Message:
Initial import of libpurple (Pidgin, Finch) protocol plugin for LINE
version 0.1


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/chat/line-purple/patches/patch-libpurple_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/chat/line-purple/patches/patch-libpurple_Makefile
diff -u /dev/null pkgsrc/chat/line-purple/patches/patch-libpurple_Makefile:1.1
--- /dev/null   Tue Nov  7 17:18:25 2017
+++ pkgsrc/chat/line-purple/patches/patch-libpurple_Makefile    Tue Nov  7 17:18:25 2017
@@ -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