pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/wmmoonclock Add support for LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/359268957a95
branches:  trunk
changeset: 370859:359268957a95
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Oct 25 21:59:33 2017 +0000

description:
Add support for LDFLAGS

This notably fixes building with RELRO enabled.

diffstat:

 time/wmmoonclock/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r fff57cfd0b30 -r 359268957a95 time/wmmoonclock/Makefile
--- a/time/wmmoonclock/Makefile Wed Oct 25 21:45:38 2017 +0000
+++ b/time/wmmoonclock/Makefile Wed Oct 25 21:59:33 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2016/02/26 11:40:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.26 2017/10/25 21:59:33 khorben Exp $
 
 DISTNAME=      wmMoonClock-1.27
 PKGREVISION=   1
@@ -13,6 +13,7 @@
 USE_TOOLS+=    gmake
 
 MAKE_FLAGS+=           CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=           COPTS=${LDFLAGS:Q}
 MAKE_FLAGS.SunOS+=     EXTRA_LOCAL_LIBS=-lsocket
 
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1



Home | Main Index | Thread Index | Old Index