pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/pidgin-latex



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr  8 08:58:41 UTC 2021

Modified Files:
        pkgsrc/chat/pidgin-latex: Makefile distinfo
Added Files:
        pkgsrc/chat/pidgin-latex/patches: patch-Makefile

Log Message:
pidgin-latex: honor LDFLAGS.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/chat/pidgin-latex/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/pidgin-latex/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/pidgin-latex/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/chat/pidgin-latex/Makefile
diff -u pkgsrc/chat/pidgin-latex/Makefile:1.57 pkgsrc/chat/pidgin-latex/Makefile:1.58
--- pkgsrc/chat/pidgin-latex/Makefile:1.57      Thu Nov  5 09:07:35 2020
+++ pkgsrc/chat/pidgin-latex/Makefile   Thu Apr  8 08:58:40 2021
@@ -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 @@ HOMEPAGE=     https://sourceforge.net/projec
 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 @@ INSTALLATION_DIRS=   lib/pidgin share/doc/
 
 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"

Index: pkgsrc/chat/pidgin-latex/distinfo
diff -u pkgsrc/chat/pidgin-latex/distinfo:1.2 pkgsrc/chat/pidgin-latex/distinfo:1.3
--- pkgsrc/chat/pidgin-latex/distinfo:1.2       Tue Nov  3 01:20:23 2015
+++ pkgsrc/chat/pidgin-latex/distinfo   Thu Apr  8 08:58:40 2021
@@ -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

Added files:

Index: pkgsrc/chat/pidgin-latex/patches/patch-Makefile
diff -u /dev/null pkgsrc/chat/pidgin-latex/patches/patch-Makefile:1.1
--- /dev/null   Thu Apr  8 08:58:41 2021
+++ pkgsrc/chat/pidgin-latex/patches/patch-Makefile     Thu Apr  8 08:58:40 2021
@@ -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