pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/dc-tools Honor LDFLAGS, now builds with PKGSR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b9d67ffd892
branches:  trunk
changeset: 311118:2b9d67ffd892
user:      tpaul <tpaul%pkgsrc.org@localhost>
date:      Wed Aug 01 15:50:16 2018 +0000

description:
Honor LDFLAGS, now builds with PKGSRC_USE_RELRO=yes

Bump PKGREVISION
ok <abs>

diffstat:

 sysutils/dc-tools/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r ea2973dd4851 -r 2b9d67ffd892 sysutils/dc-tools/Makefile
--- a/sysutils/dc-tools/Makefile        Wed Aug 01 15:01:24 2018 +0000
+++ b/sysutils/dc-tools/Makefile        Wed Aug 01 15:50:16 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2018/07/04 13:40:37 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2018/08/01 15:50:16 tpaul Exp $
 
 DISTNAME=      dc-tools-1.6
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://mc.pp.se/dc/files/
 MASTER_SITES+= https://github.com/abs0/dc-burn-netbsd/archive/
@@ -47,8 +48,8 @@
 NO_BIN_ON_FTP=         ${RESTRICTED}
 
 do-build:
-       cd ${WRKSRC} && ${CC} ${CFLAGS} -o dc-makeip makeip.c
-       cd ${WRKSRC} && ${CC} ${CFLAGS} -o dc-scramble scramble.c
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o dc-makeip makeip.c
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o dc-scramble scramble.c
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/dc-makeip ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index