summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2016-05-18 21:16:25 +0000
committeralnsn <alnsn@pkgsrc.org>2016-05-18 21:16:25 +0000
commit29edbfadf83c17245b17671ab0db8785cec1e91a (patch)
tree2e7d4f0001bade547196fcc89f87cc87775a4858 /security
parenta351ffe38d9fbd3fd9741c3640eac2bd098f82d9 (diff)
downloadpkgsrc-29edbfadf83c17245b17671ab0db8785cec1e91a.tar.gz
Pass CFLAGS and LDFLAGS to imake. Fixes MKPIE build.
Diffstat (limited to 'security')
-rw-r--r--security/ssh-askpass/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/ssh-askpass/Makefile b/security/ssh-askpass/Makefile
index f65b9a1c917..0e6d2fdf40d 100644
--- a/security/ssh-askpass/Makefile
+++ b/security/ssh-askpass/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2012/10/23 18:16:59 asau Exp $
+# $NetBSD: Makefile,v 1.14 2016/05/18 21:16:25 alnsn Exp $
DISTNAME= x11-ssh-askpass-1.0
PKGNAME= ${DISTNAME:S/^x11-//}
@@ -13,6 +13,9 @@ COMMENT= X11-based passphrase dialog for OpenSSH
USE_IMAKE= yes
INSTALL_TARGET= install
+MAKE_FLAGS+= CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+= LDOPTIONS=${LDFLAGS:Q}
+
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ssh-askpass
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ssh-askpass