summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkhorben <khorben>2016-03-16 17:21:45 +0000
committerkhorben <khorben>2016-03-16 17:21:45 +0000
commitf8cf1a170bdcf30957cceb89c5e1087494238df7 (patch)
tree9ee1c346896d94793c616282e8d146841542fa3e /net
parent225aec11c95b0a5586fd31ec1b0584fdf950507c (diff)
downloadpkgsrc-f8cf1a170bdcf30957cceb89c5e1087494238df7.tar.gz
Add support for CFLAGS and LDFLAGS
This fixes building with PKGSRC_MKPIE.
Diffstat (limited to 'net')
-rw-r--r--net/tightvncviewer/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/tightvncviewer/Makefile b/net/tightvncviewer/Makefile
index 74804107ad7..14280e971c6 100644
--- a/net/tightvncviewer/Makefile
+++ b/net/tightvncviewer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2012/10/23 17:19:13 asau Exp $
+# $NetBSD: Makefile,v 1.34 2016/03/16 17:21:45 khorben Exp $
DISTNAME= tightvnc-1.3.10
PKGNAME= ${DISTNAME:S/tightvnc/tightvncviewer/}
@@ -17,6 +17,9 @@ WRKSRC= ${WRKDIR}/vnc_unixsrc
CRYPTO= yes
USE_IMAKE= yes
+MAKE_FLAGS+= CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+= LOCAL_LDFLAGS=${LDFLAGS:Q}
+
CONFIGURE_DIRS= libvncauth
CONFIGURE_DIRS+= vncviewer
BUILD_DIRS= ${CONFIGURE_DIRS}