pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/carbons-purple carbons-purple: honor LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d183dd0756d
branches:  trunk
changeset: 449929:0d183dd0756d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 08 08:33:36 2021 +0000

description:
carbons-purple: honor LDFLAGS.

Bump PKGREVISION.

diffstat:

 chat/carbons-purple/Makefile               |   4 ++--
 chat/carbons-purple/distinfo               |   4 ++--
 chat/carbons-purple/patches/patch-Makefile |  11 ++++++++++-
 3 files changed, 14 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 6acf0c5f4e49 -r 0d183dd0756d chat/carbons-purple/Makefile
--- a/chat/carbons-purple/Makefile      Thu Apr 08 08:32:01 2021 +0000
+++ b/chat/carbons-purple/Makefile      Thu Apr 08 08:33:36 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2020/11/05 09:07:32 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2021/04/08 08:33:36 wiz Exp $
 
 DISTNAME=      carbons-purple-0.2.1
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gkdr/}
 GITHUB_PROJECT=        carbons
diff -r 6acf0c5f4e49 -r 0d183dd0756d chat/carbons-purple/distinfo
--- a/chat/carbons-purple/distinfo      Thu Apr 08 08:32:01 2021 +0000
+++ b/chat/carbons-purple/distinfo      Thu Apr 08 08:33:36 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/11/27 19:25:05 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/04/08 08:33:36 wiz Exp $
 
 SHA1 (carbons-purple-0.2.1.tar.gz) = 7cc39a82ee562196f804f66ddb7f2d74ca67bbac
 RMD160 (carbons-purple-0.2.1.tar.gz) = 7b847baeace9eac5d56f3a648715357de5c9e405
 SHA512 (carbons-purple-0.2.1.tar.gz) = 1184ff3fa7f7a8f1c90d8a66ca050bf605dab6056a8f732648b0a6ba747e2975fb82bb411caf5e3752cbd74b702c74908388174d925787dbf3fe9de900cf9eb6
 Size (carbons-purple-0.2.1.tar.gz) = 21773 bytes
-SHA1 (patch-Makefile) = 1c0754391b4589a5741e58043155484427875536
+SHA1 (patch-Makefile) = 9f33705f00913e2e33ec15f545bd40a7eb428a7e
diff -r 6acf0c5f4e49 -r 0d183dd0756d chat/carbons-purple/patches/patch-Makefile
--- a/chat/carbons-purple/patches/patch-Makefile        Thu Apr 08 08:32:01 2021 +0000
+++ b/chat/carbons-purple/patches/patch-Makefile        Thu Apr 08 08:33:36 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2018/11/27 19:25:05 nia Exp $
+$NetBSD: patch-Makefile,v 1.2 2021/04/08 08:33:36 wiz Exp $
 
 Needs -lpurple.
 
@@ -38,3 +38,12 @@
  LFLAGS= -ldl -lm $(PKGCFG_L) $(LJABBER)
  
  all: $(BDIR)/carbons.so
+@@ -51,7 +46,7 @@ $(BDIR)/%.o: $(SDIR)/%.c $(BDIR)
+       $(CC) $(CFLAGS) $(PLUGIN_CPPFLAGS) -c $(SDIR)/$*.c -o $@
+ 
+ $(BDIR)/carbons.so: $(BDIR)/carbons.o
+-      $(CC) $(CFLAGS) $(PLUGIN_CPPFLAGS) $(BDIR)/carbons.o -o $@ $(LFLAGS)
++      $(CC) $(CFLAGS) $(LDFLAGS) $(PLUGIN_CPPFLAGS) $(BDIR)/carbons.o -o $@ $(LFLAGS)
+ $(BDIR)/carbons.a: $(BDIR)/carbons.o
+       $(AR) rcs $@ $^
+ 



Home | Main Index | Thread Index | Old Index