pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/figlet Add support for CFLAGS and LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff9790a5641e
branches:  trunk
changeset: 370781:ff9790a5641e
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Oct 23 23:21:59 2017 +0000

description:
Add support for CFLAGS and LDFLAGS

This notably fixes building with RELRO enabled.

Bump PKGREVISION, since this generates a different binary now that SSP and
FORTIFY are enabled.

diffstat:

 misc/figlet/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c43188580d7b -r ff9790a5641e misc/figlet/Makefile
--- a/misc/figlet/Makefile      Mon Oct 23 21:14:24 2017 +0000
+++ b/misc/figlet/Makefile      Mon Oct 23 23:21:59 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2014/10/09 14:06:42 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2017/10/23 23:21:59 khorben Exp $
 
 DISTNAME=      figlet-2.2.5
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ftp://ftp.figlet.org/pub/figlet/program/unix/
 
@@ -9,6 +10,8 @@
 COMMENT=       Print text banners in fancy ASCII art characters
 LICENSE=       modified-bsd
 
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
 MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}/man6
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man6



Home | Main Index | Thread Index | Old Index