pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ps2eps Honor LDFLAGS, fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8588a32240e3
branches:  trunk
changeset: 365254:8588a32240e3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 09:02:04 2017 +0000

description:
Honor LDFLAGS, fixes RELRO build.

While here, set LICENSE and fix a pkglint warning.

diffstat:

 graphics/ps2eps/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 8f225e006991 -r 8588a32240e3 graphics/ps2eps/Makefile
--- a/graphics/ps2eps/Makefile  Wed Jul 12 09:00:33 2017 +0000
+++ b/graphics/ps2eps/Makefile  Wed Jul 12 09:02:04 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/07/09 06:38:22 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2017/07/12 09:02:04 wiz Exp $
 
 DISTNAME=      ps2eps-1.68
 PKGREVISION=   5
@@ -9,16 +9,17 @@
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://www.tm.uka.de/~bless/ps2eps
 COMMENT=       Tool for generating EPS Format files from one-page PS documents
+LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    perl:run
 WRKSRC=                ${WRKDIR}/ps2eps
 
 REPLACE_PERL+= bin/ps2eps
 
-INSTALLATION_DIRS+=    bin man/man1
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
 
 do-build:
-       cd ${WRKSRC:Q}/src/C && ${CC} ${CFLAGS} -o bbox bbox.c
+       cd ${WRKSRC:Q}/src/C && ${CC} ${CFLAGS} ${LDFLAGS} -o bbox bbox.c
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/C/bbox ${DESTDIR:Q}${PREFIX:Q}/bin



Home | Main Index | Thread Index | Old Index