summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-04-08 08:33:36 +0000
committerwiz <wiz@pkgsrc.org>2021-04-08 08:33:36 +0000
commit623854233298f2174ff395ef8a044301bcc225bf (patch)
tree95304b120eb148e9a47d72efd8adafc97008c66c
parent4c18249ab3337812493c5b2295a3a21b5d87a09c (diff)
downloadpkgsrc-623854233298f2174ff395ef8a044301bcc225bf.tar.gz
carbons-purple: honor LDFLAGS.
Bump PKGREVISION.
-rw-r--r--chat/carbons-purple/Makefile4
-rw-r--r--chat/carbons-purple/distinfo4
-rw-r--r--chat/carbons-purple/patches/patch-Makefile11
3 files changed, 14 insertions, 5 deletions
diff --git a/chat/carbons-purple/Makefile b/chat/carbons-purple/Makefile
index b25e7e47006..cdb4225f774 100644
--- a/chat/carbons-purple/Makefile
+++ b/chat/carbons-purple/Makefile
@@ -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 --git a/chat/carbons-purple/distinfo b/chat/carbons-purple/distinfo
index fcad05079b4..4011463dbc7 100644
--- a/chat/carbons-purple/distinfo
+++ b/chat/carbons-purple/distinfo
@@ -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 --git a/chat/carbons-purple/patches/patch-Makefile b/chat/carbons-purple/patches/patch-Makefile
index b139832c339..c63d25932b2 100644
--- a/chat/carbons-purple/patches/patch-Makefile
+++ b/chat/carbons-purple/patches/patch-Makefile
@@ -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 @@ Needs -lpurple.
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 $@ $^
+