Thu Jan 31 16:36:27 2019 UTC ()
link with libraries "-lm -lintl"
no functional change, but adds NEEDED and links better
bump pkgrevision


(plunky)
diff -r1.18 -r1.19 pkgsrc/print/pslib/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/print/pslib/Makefile (expand / switch to unified diff)

--- pkgsrc/print/pslib/Makefile 2019/01/31 16:33:15 1.18
+++ pkgsrc/print/pslib/Makefile 2019/01/31 16:36:27 1.19
@@ -1,30 +1,32 @@ @@ -1,30 +1,32 @@
1# $NetBSD: Makefile,v 1.18 2019/01/31 16:33:15 plunky Exp $ 1# $NetBSD: Makefile,v 1.19 2019/01/31 16:36:27 plunky Exp $
2# 2#
3 3
4DISTNAME= pslib-0.4.5 4DISTNAME= pslib-0.4.5
5PKGREVISION= 3 5PKGREVISION= 4
6CATEGORIES= print 6CATEGORIES= print
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pslib/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pslib/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://pslib.sourceforge.net/ 10HOMEPAGE= http://pslib.sourceforge.net/
11COMMENT= C-library to create PostScript files 11COMMENT= C-library to create PostScript files
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser 14BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
15 15
16USE_PKGLOCALEDIR= yes 16USE_PKGLOCALEDIR= yes
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
18PKGCONFIG_OVERRIDE+= ${WRKSRC}/libps.pc.in 18PKGCONFIG_OVERRIDE+= ${WRKSRC}/libps.pc.in
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20USE_TOOLS+= msgfmt perl gmake 20USE_TOOLS+= msgfmt perl gmake
21 21
 22BUILD_MAKE_FLAGS+= LIBS="-lm -lintl"
 23
22# share/locale/de/LC_MESSAGES/pslib.mo is missing without these 24# share/locale/de/LC_MESSAGES/pslib.mo is missing without these
23post-build: 25post-build:
24 cd ${WRKSRC}/po && ${GMAKE} 26 cd ${WRKSRC}/po && ${GMAKE}
25 27
26post-install: 28post-install:
27 cd ${WRKSRC}/po && ${GMAKE} install 29 cd ${WRKSRC}/po && ${GMAKE} install
28 30
29.include "../../devel/gettext-lib/buildlink3.mk" 31.include "../../devel/gettext-lib/buildlink3.mk"
30.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"