diff options
author | wiz <wiz@pkgsrc.org> | 2021-04-08 08:58:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-04-08 08:58:40 +0000 |
commit | 8bbdf1afbc12dca969e6d90fa05377882cbdc457 (patch) | |
tree | a8ec57a208a697860fdb2589deb3460b01857aa5 /chat | |
parent | 1cb73ea8e427ac5d74b9b627e1207f7890498a0f (diff) | |
download | pkgsrc-8bbdf1afbc12dca969e6d90fa05377882cbdc457.tar.gz |
pidgin-latex: honor LDFLAGS.
Bump PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/pidgin-latex/Makefile | 16 | ||||
-rw-r--r-- | chat/pidgin-latex/distinfo | 3 | ||||
-rw-r--r-- | chat/pidgin-latex/patches/patch-Makefile | 15 |
3 files changed, 23 insertions, 11 deletions
diff --git a/chat/pidgin-latex/Makefile b/chat/pidgin-latex/Makefile index dc571f36251..1285cb4ccae 100644 --- a/chat/pidgin-latex/Makefile +++ b/chat/pidgin-latex/Makefile @@ -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 @@ -13,6 +12,7 @@ HOMEPAGE= https://sourceforge.net/projects/pidgin-latex/ 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/pidgin-latex 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 --git a/chat/pidgin-latex/distinfo b/chat/pidgin-latex/distinfo index 0a82d51f4f0..3253bcfeb9e 100644 --- a/chat/pidgin-latex/distinfo +++ b/chat/pidgin-latex/distinfo @@ -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 --git a/chat/pidgin-latex/patches/patch-Makefile b/chat/pidgin-latex/patches/patch-Makefile new file mode 100644 index 00000000000..2d5bea5a225 --- /dev/null +++ b/chat/pidgin-latex/patches/patch-Makefile @@ -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 |