aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-29 02:16:28 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-29 02:16:28 +0000
commitccdc8ee0454091e55dd83f2890b4aa0557cd4d09 (patch)
treed995c615031c6254feb6efb65f9166ace54b269a /security/openssh-portable
parent73db97e16e6d28a3cb7cf80581d8b070e63d7fc2 (diff)
downloadports-ccdc8ee0454091e55dd83f2890b4aa0557cd4d09.tar.gz
ports-ccdc8ee0454091e55dd83f2890b4aa0557cd4d09.zip
Notes
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index f7fe99a2a657..bb479fd0d024 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -19,7 +19,8 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.* openssh-portable-devel-*
-USES= alias autoreconf localbase ncurses pkgconfig ssl
+USES= alias autoreconf compiler:c11 localbase ncurses \
+ pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-ssl-engine \
@@ -186,6 +187,9 @@ CONFIGURE_ARGS+= --with-xauth=${LOCALBASE}/bin/xauth
RC_SCRIPT_NAME= openssh
VERSION_ADDENDUM_DEFAULT?= ${OPSYS}-${PKGNAME}
+CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
+CFLAGS_gcc= -Wno-stringop-truncation
+
post-patch:
@${REINPLACE_CMD} \
-e 's|install: \(.*\) host-key check-config|install: \1|g' \