pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups-pdf cups-pdf: fix RELRO build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cc2091e56ee
branches:  trunk
changeset: 448757:6cc2091e56ee
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 14 08:37:26 2021 +0000

description:
cups-pdf: fix RELRO build

Remove reference to non-existent file

Bump PKGREVISION

diffstat:

 print/cups-pdf/Makefile |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r ae566506adb5 -r 6cc2091e56ee print/cups-pdf/Makefile
--- a/print/cups-pdf/Makefile   Sun Mar 14 08:31:17 2021 +0000
+++ b/print/cups-pdf/Makefile   Sun Mar 14 08:37:26 2021 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.21 2020/11/26 12:31:33 ryoon Exp $
-
-COMMENT=               PDF backend for CUPS
+# $NetBSD: Makefile,v 1.22 2021/03/14 08:37:26 wiz Exp $
 
 DISTNAME=              cups-pdf-3.0.1
+PKGREVISION=           1
 CATEGORIES=            print
+MASTER_SITES=          ${HOMEPAGE}src/
+DISTFILES=             ${DISTNAME:S/pdf-/pdf_/}.tar.gz
 
 HOMEPAGE=              https://www.cups-pdf.de/
-MASTER_SITES=          ${HOMEPAGE}src/
-DISTFILES=             ${DISTNAME:S/pdf-/pdf_/}.tar.gz
+COMMENT=               PDF backend for CUPS
 LICENSE=               gnu-gpl-v2
 
 DEPENDS+=              cups-base-[0-9]*:../../print/cups-base
 
 USE_TOOLS+=            perl:run
-REPLACE_PERL+=         contrib/cups-pdf-dispatch-0.1/cups-pdf-dispatch
 
 SUBST_CLASSES+=                        fix-paths
 SUBST_STAGE.fix-paths=         pre-configure
@@ -32,7 +31,7 @@
 
 do-build:
        cd ${WRKSRC} && \
-       ${CC} ${CFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libcups}/lib \
+       ${CC} ${CFLAGS} ${LDFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libcups}/lib \
                -L${BUILDLINK_PREFIX.libcups}/lib \
                -lcups \
                -o src/cups-pdf src/cups-pdf.c



Home | Main Index | Thread Index | Old Index