pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/pidgin-latex pidgin-latex: honor LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77db5d79a714
branches:  trunk
changeset: 449939:77db5d79a714
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 08 08:58:40 2021 +0000

description:
pidgin-latex: honor LDFLAGS.

Bump PKGREVISION.

diffstat:

 chat/pidgin-latex/Makefile               |  16 ++++++----------
 chat/pidgin-latex/distinfo               |   3 ++-
 chat/pidgin-latex/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 23 insertions(+), 11 deletions(-)

diffs (73 lines):

diff -r 235c90da6d55 -r 77db5d79a714 chat/pidgin-latex/Makefile
--- a/chat/pidgin-latex/Makefile        Thu Apr 08 08:54:30 2021 +0000
+++ b/chat/pidgin-latex/Makefile        Thu Apr 08 08:58:40 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.57 2020/11/05 09:07:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.58 2021/04/08 08:58:40 wiz Exp $
 
-VERSION=       1.2.1
-PKGREVISION=   48
-DISTNAME=      pidgin-latex-${VERSION}
-EXTRACT_SUFX=  .tar.bz2
+DISTNAME=      pidgin-latex-1.2.1
+PKGREVISION=   49
 CATEGORIES=    chat print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pidgin-latex/}
+EXTRACT_SUFX=  .tar.bz2
 WRKSRC=                ${WRKDIR}/pidgin-latex
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,6 +12,7 @@
 COMMENT=       Plugin for pidgin to render LaTeX as images
 
 DEPENDS+=      dvipsk-[0-9]*:../../print/dvipsk
+DEPENDS+=      ImageMagick-[0-9]*:../../graphics/ImageMagick
 DEPENDS+=      tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts
 DEPENDS+=      tex-amsmath-[0-9]*:../../print/tex-amsmath
 DEPENDS+=      tex-graphics-[0-9]*:../../print/tex-graphics
@@ -25,13 +25,9 @@
 
 do-install:
        ${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${DESTDIR}${PREFIX}/lib/pidgin/LaTeX.so
-
-       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-latex/
-
-DEPENDS+=      ImageMagick-[0-9]*:../../graphics/ImageMagick
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-latex
 
 .include "../../chat/pidgin/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"
diff -r 235c90da6d55 -r 77db5d79a714 chat/pidgin-latex/distinfo
--- a/chat/pidgin-latex/distinfo        Thu Apr 08 08:54:30 2021 +0000
+++ b/chat/pidgin-latex/distinfo        Thu Apr 08 08:58:40 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:20:23 agc Exp $
+$NetBSD: distinfo,v 1.3 2021/04/08 08:58:40 wiz Exp $
 
 SHA1 (pidgin-latex-1.2.1.tar.bz2) = 024f2da7a5024692751508caef4e54c1beba53c2
 RMD160 (pidgin-latex-1.2.1.tar.bz2) = a4eb3d5098315d860d081f7ae3acdc4d825084f9
 SHA512 (pidgin-latex-1.2.1.tar.bz2) = 14475d3ae12eb1d6dd706eb19303e873cf5d44cfff5d8aebf8a3909d40fd8fef52bbe28d39a4a0fc2fcfea070dda845f090e1c4ab334cf44bc40a1eefff47a75
 Size (pidgin-latex-1.2.1.tar.bz2) = 15770 bytes
+SHA1 (patch-Makefile) = af4ea09912d643ab4454fd10357522bf093b10fb
diff -r 235c90da6d55 -r 77db5d79a714 chat/pidgin-latex/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-latex/patches/patch-Makefile  Thu Apr 08 08:58:40 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/04/08 08:58:40 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.orig      2007-05-20 14:25:52.000000000 +0000
++++ Makefile
+@@ -46,7 +46,7 @@ install: all
+       cp $(PIDGIN_LATEX).so $(LIB_INSTALL_DIR)
+ 
+ $(PIDGIN_LATEX).so: $(PIDGIN_LATEX).o
+-      $(CC) -shared $(CFLAGS) $< -o $@ $(PIDGIN_LIBS) $(GTK_LIBS) -Wl,--export-dynamic -Wl,-soname
++      $(CC) -shared $(CFLAGS) $(LDFLAGS) $< -o $@ $(PIDGIN_LIBS) $(GTK_LIBS) -Wl,--export-dynamic -Wl,-soname
+ 
+ $(PIDGIN_LATEX).o:$(PIDGIN_LATEX).c $(PIDGIN_LATEX).h
+       $(CC) $(CFLAGS) -fPIC -c $< -o $@ $(PIDGIN_CFLAGS) $(GTK_CFLAGS) -DHAVE_CONFIG_H



Home | Main Index | Thread Index | Old Index