summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-10-25 21:59:33 +0000
committerkhorben <khorben@pkgsrc.org>2017-10-25 21:59:33 +0000
commitfdc2cd0c6e1fd8d89d6a709c43e3d58c3c7bbd10 (patch)
treec74bf36f2d00d14ca11891fda9fd61d3a2ce37ab /time
parentcf5d786e448ff2036dae42ac25f673dfd0ea5290 (diff)
downloadpkgsrc-fdc2cd0c6e1fd8d89d6a709c43e3d58c3c7bbd10.tar.gz
Add support for LDFLAGS
This notably fixes building with RELRO enabled.
Diffstat (limited to 'time')
-rw-r--r--time/wmmoonclock/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/wmmoonclock/Makefile b/time/wmmoonclock/Makefile
index c06a1623741..ef4d534fc22 100644
--- a/time/wmmoonclock/Makefile
+++ b/time/wmmoonclock/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/Src
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