pidgin-latex: honor LDFLAGS.

Bump PKGREVISION.
This commit is contained in:
wiz 2021-04-08 08:58:40 +00:00
parent d068b5cbe5
commit a3b0cde223
3 changed files with 23 additions and 11 deletions

View file

@ -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"

View file

@ -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

View file

@ -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